Welcome Guest Search | Active Topics | Sign In | Register

CallBackPanel + ContentPlaceHolder Options
Patrick Beverloo
Posted: Monday, July 23, 2007 6:23:23 AM

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




eo_support
Posted: Monday, July 23, 2007 8:36:14 AM
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


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.