I would like display something more meaningful that animated gif while users upload file to my web application. What possibilities do I have?
Edit: I am using .Net but I don't mind if somebody shows me platform agnostic version.
If you are interested how all this generally works client-site, this is it:
The IFRAME trick is needed because all the scripts running in the window that is doing the upload will hang until the the request is completed at which time the file is fully uploaded.
ASP.NET File Upload with Real-Time Progress Bar
I've tried various techniques and had most success with SWFUpload.
uploadError etc.) that the Flash will call during the upload progress making it very flexible. It also implements a file queue, so it works well for single or multiple files.
Some good .NET-specific help for doing progress bars can be found in Dino Esposito's MSDN Magazine articles from last July and August:
A good example of doing this without using Ajax is given at CodeProject by Nilesh Thakkar.
jQuery UI Progressbar - http://jqueryui.com/demos/progressbar/
©2020 All rights reserved.