Hi there. I was wondering if there is a way of making a simple progress bar in ASP.NET whilst a file is being uploaded to the server or some processing is happening at the server end after the file has been uploaded?
if so - how?
Printable View
Hi there. I was wondering if there is a way of making a simple progress bar in ASP.NET whilst a file is being uploaded to the server or some processing is happening at the server end after the file has been uploaded?
if so - how?
Easiest... although not accurately indicative is to simply use javascript to to show a div in front of everything else that has an animated gif.
If that's not good enough, then things get far more horribly complicated. There are real good 3rd party controls that deal with these things, but the basic premise still use javascript to open a window that queries another aspect of your web application for the progress of an uploaded file. the query part of course has to be tied in to the asp.net pipeline and as I mentioned things get horribly complicated (or perhaps better word is intracate.)
I'd go for option 1, or buy a 3rd party control...
or you can try this:
http://krystalware.com/wiki/default....dingWithASPNET