Gridview on rowupdating
David I suggested that the Row Updating function was being blocked by the . Data Bind() in the Row Command event so that only the Edit command will activate it (take it out of Row Editing). Twice for Row Command (1 for Row Editing and 1 for Row Canceling) and once for Row Editing. I am going to try and create this not as a web application but rather as a website and see if I notice any differences. Data Bind() in Row Editing, I said nothing about what might happen if you removed it. Then set your breakpoints in Row Command, Row Editing, and Row Updating and we'll see what happens. David OK, I'm offically out of bullets, at least for now. If I get some time, I'll see if I can duplicate this, but I'm suspecting there's something out there that neither of us have looked at yet. I have a break on the Sub statement for the Row Updating handler ... The Edit and Cancel buttons fire the Row Command event, however, the Update button does not. No breakpoint was triggered when I hit the Update button. I truly appreciate all the suggestions you've given. This is becoming so frustrating it's getting almost comical. Breakpoints were triggered for the Row Editing and Row Command.
On Row Updating is fired when the 'Edit' button is clicked.
Greetings; I have read several of the previous help questions on when the grid View Row Updating event doesn't fire. So, the Row Update event didn't fire because there was no indication of a Row Update existing.
I am confused at this point on why my markup and code behind is not touching the Row Updating event when Update button is clicked. I subsequently changed the code behind to explicitly bind to the product table during Row Cancel and Row Edit events.
Am I doing something wrong when I rebuild my Grid View possibly?
I tried just rebuilding my columns without doing a databind on my Grid View hoping that viewstate would save the data.