or


Hi,
I have a radgrid no my webpage. After insert or update, I want to keep grid in edit mode.
The item.edit = true, works on update command event or even from external save button. It is not working for InsertCommand event.
This is the code I am using:
protected void RadGrid1_InsertCommand(object source, GridCommandEventArgs e) { if (e.CommandName == RadGrid.PerformInsertCommandName) { if (e.Item is GridEditableItem) { GridEditableItem item = (GridEditableItem)e.Item; //Save Quote and get quoteid this.SaveQuote(); if (this.SaveQuoteItem(item, QuoteID, true)) { e.Canceled = true; item.Edit = true; RadGrid1.MasterTableView.IsItemInserted = false; RadGrid1.Rebind(); } //} } } }