Progressbar Oject code for File Upload HTTPModule ???

P

parthivjoshi

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...
 
M

Mark Harris

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.
 
L

Lau Lei Cheong

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

x 1
visual effects on a web-page 4
Asp.Net 1
On The Fly 1
login fail for User 'databaseName\ASPNET' 2
reference to parent page 1
Session object gone! 3
killing Excel instance through ASP.NET 3

Top