|
Rank: Advanced Member Groups: Member
Joined: 8/11/2008 Posts: 37
|
Hi, I have a page with Splitter. In both sides there is a CallbackPanel. Inside the left CallbackPanel is a Textbox with 'Find-Button' and a TreeView, right a TabStrip with MultiPage. If I click on a node a related PageView is opend. That is o.k.. Now if I type a search string into the textbox and click 'Find' I open the treeview and select the found node. Also I select the related TabItem but the right site dosn't change. In both CallbackPanels I have set the trigger to the Find-Button.
Can you tell me what I have to do that the right pane also changes?
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,193
|
Hi,
The FindButton can not be used as Trigger for both CallbackPanels. You can set it to the trigger as the left side CallbackPanel, then set both CallbackPanel's GroupName property to the same value (any value), that way when one CallbackPanel is triggered, the other one also updates.
Thanks
|
|
Rank: Advanced Member Groups: Member
Joined: 8/11/2008 Posts: 37
|
o.k., that works. On the Multipage panel I have a "DataView". When I click at "Edit" a postback occurs. The same when I click on "Update" or "Cancel". Why does the CallbackPanel this not prevent?
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,193
|
When did you set the DataView as a trigger of the CallbackPanel?
|
|
Rank: Advanced Member Groups: Member
Joined: 8/11/2008 Posts: 37
|
o.k. I have done so and it works. Is there a better way to do this because I have 4x 7=28 PageViews an so a lot of Controls.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,193
|
Hi,
I believe you can set the parent control, in this case, the MultiPage control as a trigger. That should make everybody inside the PageView as a trigger. However if you only want some controls to be a trigger and not others, then you can't use that.
Thanks
|
|