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
login fail for User 'databaseName\ASPNET' 2
usage of listview control in asp.net 1
visual effects on a web-page 4
Tooltip text for a listitem 1
Trying to find code for blocking ip's 1
On The Fly 1
Asp.Net 1

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,007
Latest member
obedient dusk

Latest Threads

Top