Rank: Newbie Groups: Member
Joined: 10/11/2010 Posts: 3
|
Hi, i'm looking for solution for an EO.Grid ButtonColumn Register as Postback within Update Panel .
With a reason we need to have the ButtonColumn to be a postback instead of asyn postback. We are not removing the Update Panel.
Is there any best solution to implement this for EO solution itself?
The solution that currently we implemented is that we create an invisible button that the button is RegisterPostBackControl to the ScriptManager then we call the event button from the EO ClientSideOnItemCommand. It solved the issue when we need a postback.
Just wondering any solution that EO Grid itself supported specific ButtonColumn to be fired as postback when the EO.Grid is within the Update Panel.
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi, The button in a ButtonColumn triggers post back through the Grid, so everything happens on the Grid level. You can set the Grid as a PostBackTrigger to avoid async post back on the whole Grid. But if you only wish the button to trigger post back and everything in the Grid stays as async post back, then your solution is probably the best way. We also have a separate ScriptEvent control that is designed to replace "invisible button" scenario. You can take a look of the control at here: http://doc.essentialobjects.com/library/1/eo.web.scriptevent.aspxThanks!
|