Hi
Currently, I am using InPlace edit mode to let user adding new records in RadGrid. Users need to click "Add" in the CommandItemTemplate to show the controls in the EditItemTemplate. AFter user click Update, the record is added and the EditItemTemplate is closed. Users need to click "Add" again to add the second record. How can I make the Grid remain in "Insert Mode" after adding a new record?
I have tried
protected void radLines_InsertCommand(object source, GridCommandEventArgs e)
{
/* codes to add record */
RadGrid grid = source as RadGrid;
grid.MasterTableView.IsItemInserted = true;
grid.Rebind();
}
but the EditItemTemplate is still closed.
Regards
Edwin
Currently, I am using InPlace edit mode to let user adding new records in RadGrid. Users need to click "Add" in the CommandItemTemplate to show the controls in the EditItemTemplate. AFter user click Update, the record is added and the EditItemTemplate is closed. Users need to click "Add" again to add the second record. How can I make the Grid remain in "Insert Mode" after adding a new record?
I have tried
protected void radLines_InsertCommand(object source, GridCommandEventArgs e)
{
/* codes to add record */
RadGrid grid = source as RadGrid;
grid.MasterTableView.IsItemInserted = true;
grid.Rebind();
}
but the EditItemTemplate is still closed.
Regards
Edwin