Objectdatasource onupdating gridview
However I've attached sample project that demonstrates this approach and uses Object Data Source. One further point though, the borders around the cells which contain the hidden command controls are also removed.Similar to your use case it uses a field called "Editable" to determine whether edit column buttons are visible or not. This happens in your example as well as in my project. Thanks again, Corun Disclaimer: The information provided on Dev and its affiliated web properties is provided "as is" without warranty of any kind.Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose.Using this parameter, you should determine the required field value in the currently processed record and either hide or show a command column button. That makes sense, but I guess what I'm asking is how to get to the ASPx Grid View's underlying Datasource during the Html Command Cell Prepared event?I am using the following Object Data Source: Select Method="Get" Insert Method="Insert" Update Method="Update" Delete Method="Delete" On Selecting="Add User Name Parameter" On Updating="Add User Name Parameter" On Inserting="Add User Name Parameter" On Deleting="Add User Name Parameter" Hi Corun.Hi Corun, The Html Command Cell Prepared event handler provides the e.Key Value property which allows you to identify a record in the ASPx Grid View's underlying Data Source.As the name suggests, the Target Control ID property refers to the ID of the panel control in the page that is going to be moved.Figure 5-8 provides a view of the control in action.Only controls that implement the IButton Control interface can be used with the extender, including Link Button and Image Button controls.(See Figure 5-11.) The Mutually Exclusive Check Box extender can be attached to any ASP.: Object Data Source cs using System; using System.