Welcome Guest Search | Active Topics | Sign In | Register

How can I detect a callback from a callback panel in the Page_Init event Options
Joan Darling
Posted: Friday, June 15, 2012 11:29:59 AM
Rank: Advanced Member
Groups: Member

Joined: 3/9/2010
Posts: 119
I have some code I do not want to be executed if the request is from an eo.web.callback or eo.web.callbackpanel. How can I detect these different request types from a standard postback. The page.IsCallback dosen't seem to be working.
eo_support
Posted: Friday, June 15, 2012 1:39:21 PM
Rank: Administration
Groups: Administration

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

You can check Request.Form["eo_cb_id"] to see whether it has an value. If it has an value, then you are inside a callback.

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.