RadGrid Insert UserControl does not close automatically after insert
use the following code below, make sure the CommandName on the Insert Button on the UserControl is named "PerformInsert"
protected void ABC_ItemCommand(object source, Telerik.Web.UI.GridCommandEventArgs e){if (e.CommandName == "PerformInsert"){//make sure the insert user control closes automatically after insertede.Item.OwnerTableView.IsItemInserted = false;}}
No comments:
Post a Comment