Telerik RadGrid provides rich server API for inserting new data, updating existing
data and deleting data directly from the specified data source (AccessDataSource,
SqlDataSource or ObjectDataSource). Keep in mind that you will have to configure
the respective data source control (including update/insert/delete
to its definition) to trigger the automatic operations. The new ASP.NET 2.0 framework
allows using these features entirely declaratively, except the error-handling logic.
You have to set the following properties of the grid to true
automatic update/insert/delete operation:
What is on this example:
- You can insert a new item using the [Add new record] button in the Command
- You can edit an item using the Edit button (the first button in each row)
or double-clicking an arbitrary grid row.
- You can delete an item, using the Delete button (at the end of each row).
When deleting an item a RadWindow confirmation dialog is shown.
This example also demonstrates the auto-implemented column validation functionality of RadGrid using the EnableRequiredFieldValidation
is simply a tool used in this grid demo to
prevent permanent changes from be made to demo data. It is essentially an AccessDataSource
that stores data in Session so that no changes are persisted permanently to the
You are free to use this assembly in your projects, but it is not necessary for
RadGrid to function. Unless you want to copy the telerik demo behavior in your own
project, you can remove this assembly from your project.