Rowupdating gridview asp net
This is becoming so frustrating it's getting almost comical. Breakpoints were triggered for the Row Editing and Row Command.
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.
I have tried to add an event handler to the Row Updated event of my custom control but it is not called.
I have tried to override On Row Updated in my custom control, but the breakpoint never gets hit.
LOL Each time through the code behind I was loading and binding my product table.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. The routine loading of the product table now happens only on the first pass through the code behind.I also don't understand when I select the grid View control and look at the events in the Properties window of Visual Studio 2010 why I see all the proper event procedures listed for each event I expect to use. Data Bind in the Row Command when the Edit Command is invoked and removed it from Row Editing. The code works as I intended it to (and is listed below). On Row Deleting - can call registered event handlers" I couldnt figure out how to continue this thread, but the issues in it are related so i'm including it as a reference.In my custom grid View control I cannot raise the Row Updated event.