Welcome Guest Search | Active Topics | Sign In | Register

CallbackPanel Options
UweD
Posted: Wednesday, August 13, 2008 8:27:05 AM
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?
eo_support
Posted: Wednesday, August 13, 2008 8:33:04 AM
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
UweD
Posted: Thursday, August 14, 2008 8:02:54 AM
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?
eo_support
Posted: Thursday, August 14, 2008 8:17:25 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,193
When did you set the DataView as a trigger of the CallbackPanel?
UweD
Posted: Friday, August 15, 2008 7:32:10 AM
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.
eo_support
Posted: Friday, August 15, 2008 8:55:09 AM
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


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.