|
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
|
|
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!
|
|
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.
|
|
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!
|
|