Welcome Guest Search | Active Topics | Sign In | Register

ProgressBar inside Callbackpanel Options
DJ
Posted: Wednesday, December 16, 2009 3:17:51 AM
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
eo_support
Posted: Wednesday, December 16, 2009 8:34:05 AM
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
DJ
Posted: Wednesday, December 16, 2009 10:47:41 AM
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
eo_support
Posted: Wednesday, December 16, 2009 10:52:51 AM
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_adv2

Thanks
DJ
Posted: Wednesday, December 16, 2009 5:50:35 PM
Rank: Newbie
Groups: Member

Joined: 12/16/2009
Posts: 3
This works, 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.