Buttons in CellEditTemplate

2 posts, 0 answers
  1. Thibault
    Thibault avatar
    1 posts
    Member since:
    May 2011

    Posted 06 May 2011 Link to this post


    I have a little problem. I use a TreeListView with a GridViewColum with has a CellEditTemplate. In this template is a RadButton witch opens a Popup.

    Now, when I save my object (via RIA Service) from this Popup, it fails, because the object is currently being edited by the TreeListView.
    Is there a possibility to resolve this problem without using the normal CellTemplate.

    The error Message: "Entity 'Taskgroup : 0025cbaa-3c78-4798-9c31-67987963983e' is currently being edited and has uncommitted changes. A call to BeginEdit must be followed by a call to EndEdit or CancelEdit before changes can be submitted. 

    Thank you for your help!

    Thibault Schmidt

  2. Vanya Pavlova
    Vanya Pavlova avatar
    2019 posts

    Posted 09 May 2011 Link to this post

    Hi Thibault,


    Indeed you have to commit the changes to the Entity and Exit the editing mode, before calling SubmitChanges. 
    Please check this out and let us know if you have any additional questions.

    Vanya Pavlova
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top