Asp gridview rowupdating event not firing tipper gore dating

Posted by / 30-Jun-2019 22:58

Asp gridview rowupdating event not firing

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.

asp gridview rowupdating event not firing-53asp gridview rowupdating event not firing-11asp gridview rowupdating event not firing-28

One thought on “asp gridview rowupdating event not firing”

  1. Chat with hot local singles near you and discover how natural it is to spark an instant connection through voice-to-voice chat. If you've struggled to make meaningful connections through online dating, then maybe it's time to try something different!