This is a migrated thread and some comments may be shown as answers.

How to control edit mode by code

0 Answers 81 Views
GridView
This is a migrated thread and some comments may be shown as answers.
donvn
Top achievements
Rank 1
donvn asked on 04 Oct 2011, 04:42 AM
I am extending a radgirdview control by adding more a Action column with a button "Edit". The behavior of editing looks like a Gridview in ASP.Net did:
- When user clicks on edit button, by setting current row to current item in Radgridview and then call method BeginEditing:
   this.CurrentItem = ((RowLoadedEventArgs)((Button)(sender)).Tag).Row;
   this.BeginEdit();
 OK, Current row will be switched to edit mode but only one cell is in edit mode at each time. How to turn on all cells in this row to edit mode?
- Currently in RadGridView, if user has selected on another row, edit mode on previous row will be comitted automatically. I wanted is that since user clicks on Save button then editing of row will commit. How to delay(prevent) comitting of editing row?

Thanks
Don

No answers yet. Maybe you can help?

Tags
GridView
Asked by
donvn
Top achievements
Rank 1
Share this question
or