Gridview1 rowupdating old values

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

The Row Updating event is raised when a row's Update button is clicked, but before the Grid View control updates the row. For a while now I'm trying to figure out why my method, triggered by the Grid View.

All samples of course assume you’re doing everything in your page, but I have to do everything in my code-behind, because on forehand I don’t know what I’ll be binding to my Grid View.

Please refer to the Dev Website Terms of Use for more information.

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.

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.

Do you have some sort of Java Script functionality that may be stopping it?

A common problem people have with Grid Views is understanding when to data bind the data source to the Grid View.-Frinny Hi all, I seem to be having the same issue but I don't quite follow the trouble with the above post.

Is Bound Using Data Source ID; Grid View Update Event Handler handler1 = (Grid View Update Event Handler) base.

Get String("Grid View_Unhandled Even t", new object[] { this.

Leave a Reply