The simplest solutions for this error is : Just change the “Command Name” property of the “Edit” button from “Edit” to “Edit Row”(or something else which is relevent to you but make sure it is not “Edit”). After scratching my head for sometime I found that the words like “Edit” are reserved to invoke some built in functionality of the Grid View.So when we use these special key words as the Command Name for the buttons in the Grid View, they automatically invoke the built in functionality of the Grid View when we click on the button.

rowupdating is not fired in gridview-2rowupdating is not fired in gridview-8

Unfortunately I didn’t think of it as affecting events too.

In my case most features worked, Edit buttons would invoke row editing mode, cancel button works fine, row Command event generally worked, but it was Row Updating that simply wasn’t working.

Find Control("drp Feedback"); Drop Down List drp Stat = (Drop Down List)row.

Write(""); Grid View Row row = (Grid View Row)grdv Customer. Find Control("txt Comments"); Drop Down List drpfdb = (Drop Down List)row.

) has been previously blogged by Mark Cassidy but I guess it depends on what symptom you’re having first, and wether you relate it back to this obscure setting. Grid View to This issue does now have a fleeting mention on While looking for that link, I also came across another blog post detailing the same issue and frustrations I’ve had with Gridview events that may have more detail.

In my case, I was previously aware of this issue but only relating to apparent loss of viewstate on controls.

This enables you to provide an event-handling method that performs a custom routine, such as canceling the edit operation, whenever this event occurs.

A Grid View Edit 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 edit operation should be canceled.

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.