Product Bundles
DevCraft
All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
Web
Mobile
Document Management
Desktop
Reporting
Testing & Mocking
CMS
UI/UX Tools
Debugging
Free Tools
Support and Learning
Productivity and Design Tools
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"