protected void rad_grid_ItemDeleted(object sender, GridDeletedEventArgs e) { if (e.Exception != null) { e.ExceptionHandled = true; DisplayMessage(true, "customer" + e.Item.OwnerTableView.DataKeyValues[e.Item.ItemIndex]["CustomerID"] + "cannot be deleted:reason is" + e.Exception.Message); } else { DisplayMessage(false, "customer" + e.Item.OwnerTableView.DataKeyValues[e.Item.ItemIndex]["CustomerID"] + "deleted"); } }
OwnerTableView
datakey e.Item.ItemIndex
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)