Welcome Guest Search | Active Topics | Sign In | Register

CallBackPanel trigger by an outside control... Options
ddurango
Posted: Monday, August 18, 2008 2:54:02 PM
Rank: Member
Groups: Member

Joined: 11/16/2007
Posts: 18
Hi,

I have a splitter dividing the page, on the left side I have a SlideMenu which contains multiple MenuItems and these ones contains CustomItems and inside of one I have a button (ID=btnTest).
On the right side I have a CallBackPanel with a grid inside. I want to set the trigger onClick event to the CallBackPanel but I get the error: Trigger control 'btnTest' for Callback 'CallbackPanel1' does not exist.

What can I do in this case???

Thanks in advance...
eo_support
Posted: Monday, August 18, 2008 8:37:47 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,193
Hi,

The trigger control and the CallbackPanel must be inside the same naming container. If they are not in the same naming container, you can use the parent control as a trigger. For example, in this case, you can use the CustomItem as trigger. Another option for you is to use client side JavaScript to trigger Callback. Please see callback documentation for more details on 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.