Welcome Guest Search | Active Topics | Sign In | Register

How to update progress bar based on server side task completion status? Options
Piyush G
Posted: Saturday, May 30, 2009 3:56:06 AM
Rank: Newbie
Groups: Member

Joined: 5/30/2009
Posts: 1
I referred to the Progress Bar demo code. In the ProgressBar1_RunTask event, System.Threading.Thread.Sleep(500) has benused and is advised to replace it with code that performs long running task.

How to set the progress status based on the status of server side task completion status. Please provide some real world small dummy example.
eo_support
Posted: Saturday, May 30, 2009 12:59:12 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

The progress bar is updated by calling e.UpdateProgress. That's all there is about "how to set progress status based on the status of server side task" --- you do whatever to get the progress information, then pass it to the progress bar by calling e.UpdateProgress.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.