protected void GridName_DeleteCommand(object source, GridCommandEventArgs e)
{ your code goes here}
protected void GridName_UpdateCommand(object sender, Telerik.Web.UI.GridCommandEventArgs e)
{
if (!(e.Item is GridEditFormInsertItem))
itemID = (e.Item as GridEditFormItem).GetDataKeyValue("ID").ToString();
if (!string.IsNullOrEmpty(itemID))
{ }<pre lang="c#">
else // case add new
your code goes here
}
and also you have to add in the aspx page the below code in your grid
onitemcommand="GridName_ItemCommand"
ondeletecommand="GridNameitems_DeleteCommand"
onitemdatabound="GridName_ItemDataBound"