I know this happens after an update command happens on the database, but I want to write my own custom update.The Row Updating event fires fine , but gv2_Row Updated does not fire? Width="99%" Header Style-Css Class="ph Head" Css Class="phone Table" Grid Lines="Both" Auto Generate Edit Button="true" Auto Generate Delete Button="true" On Row Editing="gv2_Row Editing" On Row Canceling Edit="gv2_Row Conceling Edit" On Row Updated="gv2_Row Updated" On Row Updating="gv2_Row Updating" Edit Row Style-Back Color="Light Yellow" Data Key Names="id External ID" If you're manually binding data to the Grid View (not using a Data Source ID), then the Row Updating event will fire after an update command, but the Row Updated event will never fire. Aaron I should have been more specific as to why I need the Row Updated to fire.In my custom grid View control I cannot raise the Row Updated event.I have tried to add an event handler to the Row Updated event of my custom control but it is not called.This is becoming so frustrating it's getting almost comical. Breakpoints were triggered for the Row Editing and Row Command. David I suggested that the Row Updating function was being blocked by the . Data Bind() in the Row Command event so that only the Edit command will activate it (take it out of Row Editing). Twice for Row Command (1 for Row Editing and 1 for Row Canceling) and once for Row Editing. I am going to try and create this not as a web application but rather as a website and see if I notice any differences. Do you have some sort of Java Script functionality that may be stopping it? A common problem people have with Grid Views is understanding when to data bind the data source to the Grid View.
So, the Row Update event didn't fire because there was no indication of a Row Update existing.
The Edit, Delete and Insert events work as I expect. David Hi cpkilekofp; I removed the Insert command button and put in an event for Command to see if the Update button press in the grid View control would trigger the Command event - it did not. My markup and code look as follows and the Update event is not firing: Hi cpkilekofp; I removed the On Row Updating from the Grid View definition - to no avail. David I added a stub for the grid View Row Command event and set a breakpoint. Placed breakpoints at Row Command, Row Editing and Row Updating.