Click here to Skip to main content
15,940,271 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi ,

I have create one dashboard which displays 6 usercontrols and each coming from usercontrols // what i want to do is .. they are loading one by one ... till that i want to show some prgress bar on this controls if they are loaing ...
Posted
Comments
JoCodes 23-Dec-13 11:09am    
Use Page.LoadControl()to load dynamically instead of markup added directly .Then add to the update panel like PnlContainer.Controls.Add(uc); so the progress bar can be shown till it loads.

These links might help you

http://devarchive.net/loading_user_controls_using_with_page_methods.aspx[^]
http://encosia.com/boost-aspnet-performance-with-deferred-content-loading/[^]

Even dynamically loading UserControl and adding to the Update panel is another approach.
 
Share this answer
 
you can try Ajax update panel.A simple Ajax Panel drop and Drop on your form, after then your user control in it.When ajax panel is update you can show a progress bar like that a Gamil.com Progress bar.more information check this link..http://www.asp.net/web-forms/tutorials/aspnet-ajax/understanding-asp-net-ajax-updatepanel-triggers[^]

for any query hit to reply with error mention.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900