Welcome Guest Search | Active Topics | Sign In | Register

Question - invoking Callbackpanel Update method from code behind Options
Peter Finn
Posted: Thursday, October 2, 2008 4:23:27 PM
Rank: Newbie
Groups: Member

Joined: 9/9/2008
Posts: 2
Is it possible to invoke the Update method of a Callbackpanel from server side code, i.e. without using triggers or javascript?

My app needs to respond to events in an Iframe by changing the content of a text field in the enclosing page (i.e. outside the Iframe). The text is wrapped in a callbackpanel. I can let the enclosing page know the event has happened by using a delegate, and change the value of the text field but calling the callbackpanel's Update method gives this message:

The current request is not a callback request triggered by EO.Web Callback or EO.Web.CallbackPanel.

Thanks,
Peter Finn
eo_support
Posted: Thursday, October 2, 2008 4:38:37 PM
Rank: Administration
Groups: Administration

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

I do not believe you can do that. The whole request must be originated from the CallbackPanel in order for anything related to the CallbackPanel to function. If you have many controls that can trigger the CallbackPanel, you can set the parent control as a trigger. That way any child control inside that parent control will be triggering the CallbackPanel.

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.