/ Published in: C#
Allows quick access to boilerplate code
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
if (e.CommandName == RadGrid.RebindGridCommandName) { } GridEditableItem item = e.Item as GridEditableItem; if (e.CommandName == RadGrid.InitInsertCommandName) { e.Canceled = true; e.Item.OwnerTableView.InsertItem(newValues); } if (e.CommandName == RadGrid.PerformInsertCommandName || e.CommandName == RadGrid.UpdateCommandName) { if (item != null && item.IsInEditMode) { } } if (e.CommandName == RadGrid.DeleteCommandName) { if (item != null) { } }