How to control edit mode by code

1 posts, 0 answers
  1. donvn
    donvn avatar
    5 posts
    Member since:
    Apr 2010

    Posted 03 Oct 2011 Link to this post

    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;
     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?

Back to Top