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

Buttons in CellEditTemplate

1 Answer 22 Views
TreeListView
This is a migrated thread and some comments may be shown as answers.
Thibault
Top achievements
Rank 1
Thibault asked on 06 May 2011, 09:19 AM

Hey

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

1 Answer, 1 is accepted

Sort by
0
Vanya Pavlova
Telerik team
answered on 09 May 2011, 07:25 AM
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.

Regards,
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
Tags
TreeListView
Asked by
Thibault
Top achievements
Rank 1
Answers by
Vanya Pavlova
Telerik team
Share this question
or