Asp gridview rowupdating event not firing tipper gore dating
For some reason when you click "Edit" to edit the contents of a row, then "Update" the Row Updating event is never called (i.e.the update and cancel selectors do not go away, clicking on update seems to be ignored). But when ever any postback occurs that changes I did on the databound even gets cleared or the gridview rows changes to its actual form.I mean in the code above I removed the first cell and spcified a column span for the second cell as 2.
in the grid view you can edit, update delete and cancel. this should be a perfect example - since i know it is working - that you could go through and use it as a demo in your approach.
When I hit Update, the changes are not saved, and there is no error message. When I hit Update, the changes are not saved, and there is no error message. Then the page posts back, the text boxes go back to being labels and the new values are lost, and the Row Updating code never fires. Yes, I did put the breakpoint at the Row Updating line (and not in the function).
I put a breakpoint on the Row Updating event handler and found that the event is not fired. I put a breakpoint on the Row Updating event handler and found that the event is not fired. In the Row Editing function, the edit textboxes appear and I can get the "old" values Then the page renders, I edit the textboxes and hit Update.
As far as I can tell, all of the properties are identical between the Grid View that is working properly and the one that isn't.
Since I don't know enough about the underlying code responsible for calling the Row Updating event, I'm not sure how to debug this or what things to try.