Rank: Advanced Member Groups: Member
Joined: 5/30/2007 Posts: 42
|
I am using a masterPage with two ContentPlaceHolders (Let call them A and B) When i create a CallBackPanel in A and the Trigger is in B, i get a error on runtime that the callbackpanel can't find the object in the trigger. I'm i doing somthing wrong here? P.S. The update for the datepicker works fine. tnk
Patrick Beverloo OfficeSpecialisten www.OfficeSpecialisten.nl
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi Patrick,
You won't be able to do that. CallbackPanel recognizes triggers inside the same NamingContainer, that is, inside the same user control, content page or page that the CallbackPanel itself is in.
In order to have a CallbackPanel1 in A to be triggered by a trigger in B, you can place a CallbackPanel2 in B and then:
1. Set the Trigger to trigger CallbackPanel2 instead of CallbackPanel1; 2. Set CallbackPanel1 and CallbackPanel2's GroupName to the same value;
This way when a trigger triggers CallbackPanel2, CallbackPanel1 will also be triggered because they have the same GroupName value.
Thanks
|