ASP.NET/ AJAX Page Loader Progress Bar/ Splash Screen

This is what's happens when you have an idea and you're not that fast ;-) Thanks to this article, I saved a lot of time writing something similar!

Introduction:
Today, complex server controls and extensive Javascript libraries (e.g. AJAX ) are very common . They can considerably increase the size and accordingly the loading time of your page.  Unfortunately it is very hard to catch how slow your page is while you are in a development environment.  You will be surprised to see how long some users have to wait until your page is completely downloaded. Wouldn’t it be nice if you could communicate to the users to stay patient until the page and scripts are downloaded? Even in some cases you would rather hide your page until it is fully downloaded to avoid premature events when your scripts are still loading. This article shows how you can display the loading process of your page with a progress bar. Additionally you can use this as a splash window to show messages, news or ads that you want the user to see first.


The technique discussed here is not limited to ASP. NET.  If you use any other server-side scripting languages, keep on reading!

 Live Sample 

 Read more...

 

No Comments