Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
415
Is there a way to update the progress bar from a server-side process?
posted

I have a loop that is executed in C# on the server that can take a minute or two to execute.

I would like to provide a progress bar that shows the progress through the loop.

So, with each record processed (or some predefined number of records) I'd like to advance the progress bar by a certain amount.

The problem is that the the web progress bar is not refreshed until my process is completely done.  Is there a way to refresh the progress bar while the process is executing?

Thanks!

Parents
No Data
Reply
  • 37874
    posted

    Hi jmakuch,

    Here is a sample that shows similar functionality - http://help.infragistics.com/Help/NetAdvantage/ASPNET/2012.1/CLR4.0/html/WebProgressBar_Using_WebProgressBar_as_an_AJAX_Progress_Indicator.html. But it is not possible to update the WebProgressBar while executing of a method on the server.

Children