Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesMake asynchronous call without blocking UI?Make asynchronous call without blocking UI?
Previous
 
Next
New Post
8/24/2011 11:12 AM
 
I have a module view that contains several grids along with some other data. I would like to be able to load the page initially with the bare minimum data, and then lazy load the grid data in the background with asynchronous calls. I have that working, except that as each grid makes its ajax call to get data the entire page UI is blocked because DNN6 by default puts up the modal loading animation during each call.

I like that default functionality in most places, but in the cases where I am trying to lazy load grid data I want the rest of the page to be responsive. Is there a way to conditionally not show the modal loading animation during an asynchronous call?
 
New Post
8/24/2011 11:39 AM
 
I dont believe there is any core way to do it currently, the radajaxloadingpanel shows for all telerik based ajax events. You could add an enhancement request to support.dotnetnuke.com to allow for disabled of it (not sure where and how that would show - perhaps a modulesetting). There is code at http://www.telerik.com/help/aspnet-ajax/ajax-show-hide-loadingpanel.html that shows hiding it so perhaps your grid could do that step as part of its data request.

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
8/25/2011 11:25 AM
 
Since I don't want to modify the core, I am taking a slightly different tack. The grids are on different tabs of the same view, so I am waiting until the grid's tab becomes visible and then checking to see if the grid has any data yet. If not, I make the call back to bind data to the grid. That seems to be working perfectly.
 
Previous
 
Next
HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesMake asynchronous call without blocking UI?Make asynchronous call without blocking UI?


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out