the js: If you would like the grid to automatically update its datasource, you'll need to add the Editing Core behavior to the grid's behaviors collection.

Then you can call commit on that to have it go back.

The great part about this is that the numberof postbacks can be reduced to one to push all of these changes to the database.

infragistics webdatagrid rowupdating-76infragistics webdatagrid rowupdating-31

coloring of rows based on criteria in your code, you will have to do a bit of overriding to compensate for the application of the ig_that is used and takes precedence over anything that you set in the code.

Part I Setup your grid and bind to data as Then setup your CSS.

Data Grids are vital controls in many user interfaces.

Like it or not still 2D tables are one of the most comfortable user interface elements in not only viewing data but also in performing rapid inserts and updates.

In the View Model class Carton View Model Guid property is used as the object identifier in the collection. NET Session) For the new rows we set the Carton Info Id to –1, because this is an identity column in the database.

When we update the objects which are stored in the database already we can’t change the Carton Info Id that’s the reason why we use a separate Id property for the View Models.

CRUD operations of Data Grid is not a big innovation, but there are plenty of ways to do that.

This post explains how to perform CRUD operations using Infragistics Web Data Grid control in ASP. This code is written using Infragistics version 12.2 Create a simple Web Data Grid.

I'll gladly accept a different answer if a better one comes along.