I have an ASPx Grid with data pulled in from a database from multiple tables. I need to update the the table with the data values and then show that change in the data grid. This si what i have or an idea of what i need to do.
Then take edited values and want to insert into database.
A Grid View Edit Event Args object is passed to the event-handling method, which enables you to determine the index of the current row and to indicate that the edit operation should be canceled.
We already have the E158 example showing how to implement a similar feature.
The project below is a simplified version of the same functionality, which allows you to edit all rows on a current page at once.
There could be an error on the serverside and the clientside is not updated since it's using a callback.
I saw lot of solution on google for webgrid but I need to go with aspxgriedview. I suggest you go though Dev Express documentation and examples.
This enables you to provide an event-handling method that performs a custom routine, such as canceling the update operation, whenever this event occurs.
A Grid View Update Event Args object is passed to the event-handling method, which enables you to determine the index of the current row and to indicate that the update operation should be canceled.
To implement this, I added the ASPx Text Box to the Data Item Template Container of several columns and bound these editors to the underlying data source.
This will force the ASPx Grid View to always display editors in these columns.
NOTE, this is done without switching the ASPx Grid View to the Edit Mode and back.