From this article, you will have a clear view of the Grid View data insert, delete, and update operations.The Situation: You have a Dev Express ASPx Grid Lookup control on your page and need to update its contents when some event occurs (such as a parent drop-down value changes). It took me a while to find it, and to decode it, so I am putting it here so that I will be able to find it easier next time. The first is to embed the ASPx Grid Lookup in an ASPx Callback Panel.Each column represents a field, while each row represents a record.The Grid View control supports the following features:use Row Editing, Row Updating, Row Deleting, Row Command, Row Data Bound, Row Canceling Edit, and Pagination in a Data Grid.
The Situation: You have a Dev Express ASPx Grid View on your page with a column designated as “Read Only=true”.
The entity created using the code above does not contain those extra fields, so it will throw an error when it tries to process them.
The Solution: To make the entity recognize those extra fields, you have to add them into the entity’s Extra Columns object.
I am posting the solution incase somebody is in search for it.
In that case the edit item template update and cancel button events are not firing.