On Manual Update, RadGrid not leaving EditMode

3 posts, 0 answers
  1. Joshua
    Joshua avatar
    78 posts
    Member since:
    Sep 2008

    Posted 10 Nov 2008 Link to this post

    I followed the code from:


    And implemented an edit on a singleClick, and save on clicking another row such as:


    The data is saved correctly, however, the Grid does not leave Edit Mode. Once the grid the request is complete, the same row is still editable.  How do I cancel the edit mode.  (I've tried the cancelAll() and still no luck).
  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 10 Nov 2008 Link to this post

    Hello Joshua,

    Have you set the AllowAutomaticUpdates property of the grid to true? If so, try setting it to false and see if this helps cancel grid's EditMode. If the issue still persists, then you can try out the following code to cancel the EditMode after editing.
     protected void RadGrid1_UpdateCommand(object source, GridCommandEventArgs e) 
            // update query code goes here 
            RadGrid1.MasterTableView.ClearEditItems();//to clear the EditMode 


  3. DevCraft R3 2016 release webinar banner
  4. -DJ-
    -DJ- avatar
    263 posts
    Member since:
    Oct 2004

    Posted 20 Feb 2009 Link to this post

    Hi Princy,

    I had the exact same problem, changing AllowAutomaticUpdates to False solved it.

    Thanks a bunch.

Back to Top