Aspxgridview rowupdating event not firing
Hello, I'm a little bit confusion, how to get value of Text Box of Grid View in Row Editing and I've textchange event and that textbox value need to update via gridview to database. but before updating we need to calculate that value. Could you please check how the attached project works?
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.I just noticed that this event fires when the row values are actually valid but if I enter invalid values the event doesn't fire. I just want to update the error messages so the user knows which fields have incorrect values.Hi Stephen, Yes, you should be able to use the ASPx Grid View. For reference, see the code snippet posted in the corresponding documentation article.When I click "Update", neither event fires and I get "Input string was not in a correct format". Hi Stephen, I have tried to reproduce this issue based on your markup, but wasn't able to.It looks like some other things are involved in this issue, which I have not taken into consideration.