Rowupdating is not firing in gridview asp net
The Grid View control resides in a User Control which is referenced in an page that is housed inside a Master Page. Gridview Whoa what a waste the last three hours have ultimately been...
the View state is disabled because I need the the Grid View to be displayed even when there is no data. I have a databound control that has the datasource set dynamically. I have a button inside a row with the command name set to ' Update'. All I want to do is execute a stored proc (SQL Server) whenever the user clicks "Update" (Auto Generate Edit Button="true") but, when the user clicks "Update" (after clicking "Edit"), Row Updating does not fire.
I got to the point where I thought I'd just try random things.
The first thing I tried was setting Enable View State to true on the grid (I'd switched it off previously). When the row is in edit mode i display a checkbox and textbox.
I have this same issue but I do not have any of those methods in my code behind...ideas? Grid View Row Updated not fireing I have a gv1_Row Updating event (that fires fine) and a gv1_Row Updated event (that doesn't fire) below is gv1_Row Updated (thats not working) and my gridview: any suggestions -- thoughts? Add(bfld Employee Code); Bound Field bfld Project Code = new Bound Field(); bfld Project Code. Add(bfld Project Code); Bound Field bfld Process Code = new Bound Field(); bfld Process Code. I thought that was pretty explicit, so I created the event: private void gv Main Data Grid_Row Deleting(Object sender, Grid View Deleted Event Args e) Well....didn't work. Then, when I actually try to use the delete button, I get an error that the Row Deleting event is not being handled.