I have a user control as the edit form in a grid. After entering some initial information in the edit form the information needs to be saved to return some key fields/DataItems which are then used to populate other sections/controls on the edit form for entering the remaining data.
Rather than making the initial insert and then having to find the record in the grid reopen it, and fill out the remaining data I am trying to reopen it in edit mode automatically after saving it using "PerformInsert" in the RadGrid1_ItemCommand.
Is This possible?
Thanks,
Dave
Rather than making the initial insert and then having to find the record in the grid reopen it, and fill out the remaining data I am trying to reopen it in edit mode automatically after saving it using "PerformInsert" in the RadGrid1_ItemCommand.
Is This possible?
Thanks,
Dave
protected void RadGrid1_ItemCommand(object source, GridCommandEventArgs e)
{
switch (e.CommandName)
{
case "PerformInsert":
// Code to save to database
// How to reopen record in edit mode
break;
}
}