In rowupdating event of

If the values are alternated in the dictionary they are applied to the grid. The hashtable consists of the new values to be set on the row cells.If the values are alternated in the hashtable they are applied to the grid and carried over to the data source as well.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 Row Update event will load a copy of the product table from the database after successfully updating a row.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. The routine loading of the product table now happens only on the first pass through the code behind.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. The hashtable contains former values of the row's cells.

in rowupdating event of-24in rowupdating event of-35in rowupdating event of-89

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 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).Status) to Row Updating and / or Row Updated event specifies that remaining rows will be skipped.Greetings; I have read several of the previous help questions on when the grid View Row Updating event doesn't fire. I subsequently changed the code behind to explicitly bind to the product table during Row Cancel and Row Edit events.

Leave a Reply