Click here to Skip to main content
15,891,431 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

Is there a way to show a div with "loading icon" while a page is being loaded. I have a literal control in the .aspx page, and i am creating lot of controls through API calls and later flushing those to the browser. this process takes lot of time to load. I need to show an icon loading during that time. Any solution is acceptable(like redirecting to another page, etc). There is no click event as such. i need to show the icon while the controls are getting rendered to the browser.
Posted
Updated 16-May-12 13:00pm
v2

1 solution

I would probably redesign the page to use ajax in this situation.

Or you might consider using an iframe for the page that is "expensive" to process.
 
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