Welcome Guest Search | Active Topics | Sign In | Register

Force Sonme Gridview Link Button Clicks to force Postback Options
Gordsh
Posted: Friday, November 11, 2011 10:48:35 PM
Rank: Member
Groups: Member

Joined: 8/16/2009
Posts: 13
I have a standard ASP.Net Gridview housed inside the EO Update Panel. I have set up the EO.Update Panel Trigger as the Click from the Gridview, however there is one Link button in the Gridview that I would like to force a Postback and not Trigger the Update Panel. As it is now all click events from the inside the Gridview Trigger the Update Panel and I am not able to get a Postback.

Is there any way I can selectively indicate which click events or buttons inside the Gridview will cause a Postback?
eo_support
Posted: Saturday, November 12, 2011 4:20:09 PM
Rank: Administration
Groups: Administration

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

There is no direct way to do that. You will have to code the LinkButton to call some JavaScript so that it triggers a post back as something else. For example, you can call use an EO ScriptEvent control and then call eo_TriggerServerEvent to trigger a server event through the ScriptEvent control. If the ScriptEvent control is not inside the UpdatePanel, then that will go through as a normal post back.

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.