I have a RadGrid and i'm using an user control to edit and insert items. For me it works fine, but the deal is that i need to restrict the user for editing and inserting at the same time.
If the user is editing and click new item it needs to close the editing row and open the inserting row and if i'm adding an item and i click on edit an item the inserting row needs to close and open the editing row
So I have the event:
protected void myRadgrid_ItemCommand(object sender, GridCommandEventArgs e)
this._edit = true; //bool value
this._edit = false;
With that code when i'm editing and i clicked "insert new item" it close the editing row and open the inserting row(that works fine). But my problem is that i couldn't find the property to do the same when i am adding a register and i try to edit a row (it most close the inserting row and open the editing one).
I hope that you can help me with this, it's really important
Thx a lot