To All,
I am unable to use AutoCRUD with the data requirements imposed on me. I need to be able to manually update the underlying database whenever a customer changes the data in a WebDataGrid row. Those changes have to be reflected in the underlying database and on the presentation immediately.
I have reviewed the RowUpdating event, but it seems to batch update when a user clicks on something that forces a page update.
I need something that will allow me to have the customer update two cells and fire when he/she either changes rows or does something that triggers a page update.
Hello,
Thank you for contacting us.
Let me know if I am missing something from your scenario, as I understand you want to persist all changes made in the grid to the DataSource by your own custom code. In that case. In that case you should perform manual CRUD, for more information please refer to this blog.
Zdravko,
I found the blog post you mentioned a couple of days ago. I might not have been clear on what I am trying to accomplish.
What I need for my customer is the ability to enter data in one column of the WebDataGrid, go to the next record and enter data in that same column, and so on. The customer will be using a barcode scan gun. A single cell in each WebDataGrid row will be filled in either manually - or more likely via a barcode scan gun. Most likely I will 'keyfake' in either the <Enter> key or the <Arrow Down> key to save the necessary data to the physical database (there are three tables that have to be updated) and then the following row will be Selected/Activated and the Serial Number cell will be Selected/Activated for data entry. The customer then scans the next barcode which is then updates the physical database and the beat goes on.