Asp gridview rowupdating not firing
It seems like the Java Script can get mangled otherwise.
If you are using command buttons, then do not use Auto Generate Edit Button.
Add(bfld Project Code); Bound Field bfld Process Code = new Bound Field(); bfld Process Code.
So when I manually execute "__do Post Back('Grid View1','Update $5')", it will call Row Updating.
I've configured the fields via C# code: gv Main Data Grid. Auto Generate Delete Button = false; Bound Field bfld Seq Nmbr = new Bound Field(); bfld Seq Nmbr.
This means that when the user does an update, the data from that update is lost.
But I think I can´t avoid to do this, because if I don't, the runtime created controls fade away.
You have to make sure that you aren't setting your Grid View's data when it is not postback.
If you do this, your Grid View's source will be refreshed before you're able to grab the new values out of it.I would recommend trying this out and starting a new thread in the .NET Forum so that other people can learn from the experience too. -Frinny You may need to turn off validation even if you are not validating anything.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.I have tried to add an event handler to the Row Updated event of my custom control but it is not called.Tags: Adult Dating, affair dating, sex dating