TODO:
Have you ever wanted to use a popup window for inserts to a Telerik RadGrid, but then allow editing to be done InPlace?
SOLUTION:
protected void rgdDocuments_ItemCommand(object sender, Telerik.Web.UI.GridCommandEventArgs e)
{
if (e.CommandName == RadGrid.EditCommandName)
{
rgdDocuments.MasterTableView.EditMode = GridEditMode.InPlace;
}
if (e.CommandName == RadGrid.InitInsertCommandName)
{
rgdDocuments.MasterTableView.EditMode = GridEditMode.PopUp;
}
}
NOTES:
There are no notes on this topic.