Rank: Newbie Groups: Member
Joined: 6/15/2011 Posts: 5
|
Hi,
I tried searching for old posts but couldn't find help. I am trying to implement progress bar on my web page. The background task runs on remote workstation and I wanted to show progress bar update based on the log file text update I receive from remote workstation. The control to get log file update is implemented using 'AsyncPostBackTrigger' inside 'UpdatePanel' in the aspx page.
<asp:UpdatePanel ID="UpdatePanel1" runat="server"> <Triggers> <asp:AsyncPostBackTrigger ControlID="Ticker" EventName="Tick" /> </Triggers> <ContentTemplate>
I am not able to fire 'ProgressBar1_RunTask' event from the ticker function and also can't find the control of my progress bar from the ticker method (UpdateProgress) that gets called automatically after specified time.
Thanks, Todd
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
I do not believe you can AJAX the ProgressBar control's RunTask event. That is a very special event. A normal server side event updates the client AFTER the event handler is done, while ProgressBar's RunTask event updates the client WHILE the event handler is running. So they don't really work together.
Thanks!
|