Asp net gridview onrowupdating not firing

Within the Item Template I have an Image Buttong with a Command Name of "Edit".This works as expected and I can put a breakpoint in the Row Command event handler to see the "Event" command name.My problem lies in that the click on the Update Image Button posts back, but neither the Row Command nor Row Updating events get triggered.I have set the requisite attributes in the Grid View tag.

Add(bfld Seq Nmbr); Bound Field bfld Employee Code = new Bound Field(); bfld Employee Code.

This could result in exceptions being swallowed (even though they are logged) and then the program can continue in an unknown state.

You could expose security holes or corrupt your own data using general exception handling like this.

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.

Leave a Reply