I'm trying to replace an UltraWebGrid with the newer WebDataGrid. With the UltraWebGrid, I bound the grid to a dataset and handled updating the dataset in the UpdateRowBatch method. With the WebDataGrid, I've bound the grid using the DataSource property to the same dataset and see my data in the grid but I don't understand how to get the data back from the grid and update the dataset. Am I missing some fundamental difference between the grids? How should this be handled?
Batch updating is a feature that is scheduled to be introduced to the WebDataGrid in 2010 Volume 3 (Oct/Nov 2010).
OK, so I can't do a batch update of the data. But this doesn't answer the question. I've been working with the WebDataGrid for 3 days now and still haven't gotten a single value back to the server. I've looked at all the posts here and the sample projects. But the sample code doesn't save any changes.
After changes to the Behaviors section I now get a RowUpdated event and thought I could use it to update my datasource. Unfortunately, it never fires. I know it can work based on other posts here but without any sample code, we may be forced to abandon WebDataGrid.
Here is a quick sample of working with a DataTable. I am updating any changes and storing the table in session.
Then what is the workaround before the next release on batch update?