Progressbar during postbacks asp.net
What is the best way to show the user performing insert records using the procress panel in asp.net
. And after the process completes, please indicate the message where the data was pasted. Can I do this with Javascript
and Jquery
?
As you can imagine, there is no easy way.
You have to do pooling
either web sockets
or long pooling
, which means you have to ask the server in the background if it has finished.
Here is couple of examples to so:
http://www.singingeels.com/Articles/RealTime_Progress_Bar_With_ASPNET_AJAX.aspx
here is on with SignalR
http://vivekcek.wordpress.com/2012/12/26/real-time-progress-bar-using-jquery-ui-and-signalr/
http://msdn.microsoft.com/en-us/magazine/ hh852586.aspx