Realtime progress of AJAX call (asp.net)

Posted by Dynde on Stack Overflow See other posts from Stack Overflow or by Dynde
Published on 2010-04-14T06:57:40Z Indexed on 2010/04/14 7:03 UTC
Read the original article Hit count: 426

Filed under:
|
|
|
|

Hi...

I'm trying to make a progress bar that updates the user on the progress of the AJAX call.

My immediate thinking was that I need an AJAX call to start a thread on the server, allowing the starting AJAX call to finish, and allowing the thread to send updates back to the user.

For the purpose of simplicity, disregard the actual progress bar functionality (I was thinking of implementing one of those JS bars, with fancy colors and effects ;), but if I can get an update from the thread, then updating a simple JS progress bar becomes trivial ;) )

I just need a few pointers on how to accomplish this, if anyone could oblige me? ;)

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about c#