Welcome Guest Search | Active Topics | Sign In | Register

Multiple callbackpanel refresh Options
avneesh
Posted: Tuesday, June 16, 2009 2:23:59 PM
Rank: Newbie
Groups: Member

Joined: 4/23/2009
Posts: 9
Hi,
I have got 2 callback panels in my app. In the First callback panel, there is a drop down which refreshes only the first callback panel with the data. There are other controls as well in the first panel that refresh the first panel. So I have set childrenastriggers for the first panel.
Selection of a control from first callback panel calls JS function eo_callback and refreshes the second panel. I also want to refresh this second panel when the combobox item from the first panel is changed. Actually I want to hide the controls in the second callback panel. How can I do this and what will be the settings of the panels?

Thanks




eo_support
Posted: Tuesday, June 16, 2009 2:26:44 PM
Rank: Administration
Groups: Administration

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

You need to set both CallbackPanel's GroupName to the same value.

Thanks!
avneesh
Posted: Saturday, June 20, 2009 9:20:53 AM
Rank: Newbie
Groups: Member

Joined: 4/23/2009
Posts: 9
If I set the group name as same then when the bottom panel is refreshed, the upper panel will start refreshing as well. The bottom panel refreshes as well on its own.

eo_support
Posted: Saturday, June 20, 2009 9:26:26 AM
Rank: Administration
Groups: Administration

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

In that case you can change the CallbackPanel's UpdateMode to Conditional. You would then call the CallbackPanel's Update method to trigger an update. For example, if you wish CallbackPanelB's to update when CallbackPanelA is triggered, you would call CallbackPanelB.Update() in your code.

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.