Welcome Guest Search | Active Topics | Sign In | Register

Call back panel Options
Adeel Aslam
Posted: Thursday, August 23, 2007 1:23:02 PM
Rank: Newbie
Groups: Member

Joined: 8/21/2007
Posts: 8
I am trying to use following handler but unable to figured out how? could you please give me some example for specifically this handler.

function callback_after_execute_handler(callback, output, extraData)

Actually in this callback panel, on the click of a button, I am executing some server side function, after updating different fields on the callback panel it returns either true or false. Fields updated correctly, but I also want this true/false value on the client side, so i can invoke appropriate javascript. I think this function can help me doing that. but How can i set and get that parameter.

Thanks
eo_support
Posted: Thursday, August 23, 2007 3:51:25 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,217
Hi Adeel,

You need to handle Callback_Execute event and then set e.Data:

http://www.essentialobjects.com/ViewDoc.aspx?t=EO.Web.CallbackEventArgs.Data.html

Whatever value you put into e.Data will be passed via the third parameter extraData to your client side handler.

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.