rmartes
asked on
The best approach for displaying progress to the end user
Hello Experts,
I have an ASP.NET C-Sharp application that is simply used to upload/save a file onto the server. I would like to display progress with percentage complete for large files. I've searched around looking for an easy and efficient approach, but most approaches seem overly unnecessary for what I'm trying to accomplish. Most mention the use of AJAX and JQuery for client/server interaction for a given task. What is the best approach and can anyone lead me to or provide me with a good clean example?
I am currently testing out using IFRAMES to make a call to the server and update the parent window with progress, but though really simple, doesn't seem like the 'proper' way to accomplish this...
Thanks in advance.
I have an ASP.NET C-Sharp application that is simply used to upload/save a file onto the server. I would like to display progress with percentage complete for large files. I've searched around looking for an easy and efficient approach, but most approaches seem overly unnecessary for what I'm trying to accomplish. Most mention the use of AJAX and JQuery for client/server interaction for a given task. What is the best approach and can anyone lead me to or provide me with a good clean example?
I am currently testing out using IFRAMES to make a call to the server and update the parent window with progress, but though really simple, doesn't seem like the 'proper' way to accomplish this...
Thanks in advance.
ASKER
Thanks plusone3055.
This will work as a client-side tool for displaying progress, however...
I think I should have included in my question that I want to indeed know how to get the 'real' completed progress for an ongoing task, in this case, uploading a file...
Can anyone provide a good example of how to retrieve progress from an ongoing server-side task?
This will work as a client-side tool for displaying progress, however...
I think I should have included in my question that I want to indeed know how to get the 'real' completed progress for an ongoing task, in this case, uploading a file...
Can anyone provide a good example of how to retrieve progress from an ongoing server-side task?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks buddy.
Need some time to test, so I'm accepting as answer as it looks like what I need.
Actually ran into this example when reading about SignalR:
http://blog.webdevsamples.com/web-forms-long-running-task-with-progress-bar-using-signalr
Also (not SignalR, but looks easy to implement using http handler):
http://dhtmlx.com/docs/products/dhtmlxVault/
Need some time to test, so I'm accepting as answer as it looks like what I need.
Actually ran into this example when reading about SignalR:
http://blog.webdevsamples.com/web-forms-long-running-task-with-progress-bar-using-signalr
Also (not SignalR, but looks easy to implement using http handler):
http://dhtmlx.com/docs/products/dhtmlxVault/
no problem
Cheers
Cheers
I cannot post a "direct" link to it as it is a Competing Website
but if you were to use google and type in
asp.net percentage progress bar example
you will find it
http://forums.asp.net/t/1552536.aspx?Progress+Bar+with+Percentage+or+status
in the 2nd response 3rd link :)