Just some untested thought...
I think you could use Request.BinaryRead() to retrieve the data, then in the
process, write the "current byte read" to "Request.TotalBytes" to a file.
While the user click the button, call a javascript that will open another
window that will fetch the result from the progress file written on disk.
Call settimeout() to refresh in certain interval. In this way, no
server-side postback request is required.
"Mark Harris" <ma**@gamehostcp.com> ???
news:op**************@mark.network.dvmesh.com ???...
i dont think that would be possible. You wouldnt know when the file is
upload until its done, there is no postback inbetween that i know of.
--
Mark Harris
Head Developer
GameHost CP
On Thu, 19 Aug 2004 23:11:51 -0700, pa**********@rediffmail.com <parthiv
joshi> wrote:
Do anyone have the idea how to add progressbar to the existing
HTTPModule and HTTPApplication for File Upload.
************************************************** ********************
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP &
ASP.NET resources...