Jun
20
2010
20
2010
Creating a AJAX Refresh bar
Lets Create a AJAX Loading Bar for a ASP.NET web application
.Its a Really simple design with few lines of code ..
You will need some pre requisites for this design .Im using Microsoft Visual Web Developer 2008 Express Edition even you can use Microsoft Visual Studio
- First Create a AJAX enabled web site
- Create a ASP Page (AJAX Web Form)
- Insert Update Panel from AJAX Extensions in toolbox
- Then Place the Controller inside that that panel (Example – If you want to load in a button click place a button)

Coding
To see the animation visible to some time we have to create a artificial network delay.
Private sub Buttion1_click()
System.Threading.Thread.Sleep(3000)
‘time is in milliseconds
End sub
Coding 2
Next step is we must visually show the loading bar.
for this we need a Animated Gif File..Like this
You can easily create these kind of animations form http://www.ajaxload.info/
- To the AJAX Form internet the Update Progress Control AJAX Extensions in toolbox
- Inside that panel place the Animated GIF File

I think you are done !
Here a Screen cap from a sample project used AJAX Refresh bar.

Related Posts
5 Comments + Add Comment
Recent Posts
- How to populate a dropdown menu from database in CodeIgniter [Workaround]
- How to Overclock Samsung Galaxy Mini Upto 800MHz
- Current and Future Relavance of Business Excellence / Improvement to Argos UK Ltd. Possible Benefits and Likely Inhabitors Exists
- What can Harm Your Online Reputation?
- Does Race Matter in the Choice of Popular Music among Youngsters?
The Tutebox
- Accounting
- Android Tips
- Apps
- Business
- C / C++
- Computers
- Database
- Design Patterns
- E-Commerce
- Economics
- Electronics
- Entertainment
- Finance
- Functional Programming
- Games
- Hardware
- Health
- HRM
- International Business
- Internet
- iOS Tips
- JAVA
- Life Style
- Linux
- M-Commerce
- Management
- Marketing
- Mathematics
- Mobile
- MS Office
- Network
- PC
- Personal Development
- Photography
- PHP
- Physics
- Places
- Programming
- Science
- Software
- Statistics
- Tweaks
- Visual Studio
- Web Hosting
- Windows

Article by





tutorial එක නම් මැක්ස. ඔහොම යමු!
Its kinda more messy in PHP yet i prefer that but I like the way how Microsoft has come up with it…
Nice post..
More people need to read this and understand.. keep it up…
I admire what you have done right here. Nice post. keep writing..
To the AJAX Form internet the Update Progress Control AJAX Extensions in toolbox ” wot does ths mean ?