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
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
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!
|