I have a radgrid with an ASCX in edit mode I cancel the default operation, to pass some initial values to the control. But the ASCX appears in the first fial as if it were in insert.
else if (e.CommandName == "Edit")
{
GridEditableItem item = (GridEditableItem)e.Item;
e.Item.OwnerTableView.ClearEditItems();
e.Canceled = true;
System.Collections.Specialized.ListDictionary newValues = new System.Collections.Specialized.ListDictionary();
newValues["IdHotel"] = VALUE
newValues["IdPaqueteHotelDetalle"] = VALUE
e.Item.OwnerTableView.InsertItem(newValues);
e.Item.OwnerTableView.IsItemInserted = false;
e.Item.OwnerTableView.EditFormSettings.UserControlName = "Controles/PaqueteHotelDetalle.ascx";
}