|
Rank: Newbie Groups: Member
Joined: 12/16/2009 Posts: 3
|
How do i get a ProgressBar inside a Callbackpanel to work. The progressbar does work (when I press a related button, the bar starts growing indeed), but then the Callbackpanel does not do the partial update of the screen any more. If I remove the ProgressBar it does do it.
I have added the Progressbar as trigger in the Callback panel, and also that button.
Any ideas?
DJ
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
You can not use ProgressBar to trigger CallbackPanel. ProgressBar's RunTask event is a very special event. During that event you can only update the ProgressBar but nothing else.
Thanks
|
|
Rank: Newbie Groups: Member
Joined: 12/16/2009 Posts: 3
|
What is then the best approach: invoke a button click at the end of the progress, and use that button as a trigger?
How do I invoke such a button at client side with ProgressBar?
Is there a better approach?
Regards,
DJ
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi, It depends on what you want to do. The bottom line is you can not update anything except for the ProgressBar inside RunTask, so you will have to do it indirectly with JavaScript. This sample should give you some idea of how to do this: http://demo.essentialobjects.com/Default.aspx?path=ProgressBar\progressbar_adv2Thanks
|
|
Rank: Newbie Groups: Member
Joined: 12/16/2009 Posts: 3
|
This works, thanks.
|
|