Gridview rowupdating event not

I have a Gridview with Auto Generate Columns="False".

I am using a Template Field to display my Edit, Update and Cancel 'buttons' in the first column of the Grid View within respective Item Template and Edit Item Template fields.

Also, and im no exception catching expert, it seems that your try catch blocks are a bit general.event is raised when a row's Update button is clicked, but before the Grid View control updates the row.This enables you to provide an event-handling method that performs a custom routine, such as canceling the update operation, whenever this event occurs.If you do this, your Grid View's source will be refreshed before you're able to grab the new values out of it.I'm having a very hard time understand what would prevent your event from being fired.A Grid View Update Event Args object is passed to the event-handling method, which enables you to determine the index of the current row and to indicate that the update operation should be canceled.

910

Leave a Reply