Gridview rowupdating event in asp net

Welcome to the Coding Forums, the place to chat about anything related to programming and coding languages.Please join our friendly community by clicking the button below - it only takes a few seconds and is totally free.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.Right now, I have not written code for the Update event. Right now, I have not written code for the Update event. 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.

A couple of days ago I mentioned a project that I’ve been working on that is a bit out of the ordinary as far as Grid Views go.

Yes, I did put the breakpoint at the Row Updating line (and not in the function).

You have to make sure that you aren't setting your Grid View's data when it is not postback.

I am using a SQLData Source to populate my gridview in ASP. When I hit Edit, the textboxes appear and I am able to edit my values. I am using a SQLData Source to populate my gridview in ASP. When I hit Edit, the textboxes appear and I am able to edit my values. 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.

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).

Search for gridview rowupdating event in asp net:

gridview rowupdating event in asp net-24gridview rowupdating event in asp net-43gridview rowupdating event in asp net-15

Leave a Reply

Your email address will not be published. Required fields are marked *

One thought on “gridview rowupdating event in asp net”