All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
protected
void
grid1_ItemCommand(
object
sender, GridCommandEventArgs e)
{
if
(e.CommandName == RadGrid.InitInsertCommandName)
e.Item.OwnerTableView.EditFormSettings.UserControlName =
"WebUserControl1.ascx"
;
e.Item.OwnerTableView.InsertItem();
}
else
(e.CommandName == RadGrid.EditCommandName)
e.Item.OwnerTableView.IsItemInserted =
false
"WebUserControl2.ascx"