RadGrid for ASP .NET version
RadControls for ASP .NET AJAX version
|
4.0.3 and later
2008.1.415 and later
|
.NET version |
1.x, 2.0 (RadGrid for ASP .NET version)
2.0 and later (RadControls for ASP .NET AJAX version)
|
Visual Studio version |
2002/2003 and later
|
Programming language |
C#,VB.NET
|
Browser support |
all supported by RadGrid for ASP .NET
all browsers supported by RadControls for ASP .NET AJAX
|
Note: This functionality is supported for RadControls for ASP .NET AJAX version 2008.1.415 and later as described in this hep article.
PROJECT DESCRIPTION
This demo application shows how to perform real update/insert/delete (refreshing the data in the database used for grid source). The data editing operations are performed through
Update/Insert/Delete commands build inside the
UpdateCommand/InsertCommand/DeleteCommand handlers of the grid.
Note that the primary field referenced on update operation is stored in the
DataKeyNames array of the master table and retrieved through
DataKeyValues.
Additionally, this primary field values are auto-incremented (contained in unique column in the source table) on insert operation, thus avoiding the creation of duplicate identity fields (which can happen when you allow the user to enter primary key value on insert).