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

Unable to drag/drop a node into another node

2 Answers 41 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Xavier
Top achievements
Rank 1
Xavier asked on 26 Oct 2010, 04:55 AM
Hi,

I am using entityFramework for my model and I have a children property that is using EntityCollection. Whenever I drag/drop a node into another node I will be prompted with "The index-based insert operation is not supported on this data binding interface." error. I have found out that the children property doesn.t have the .insert function which is the cause of this error. Any idea how can i solve this problem? Thanks you.

 

2 Answers, 1 is accepted

Sort by
0
Alex Fidanov
Telerik team
answered on 28 Oct 2010, 06:11 PM
Hello Xavier,

Is it acceptable in your scenario to wrap your EntityCollection into a collection that supports index based insertion - for example an ObservableCollection?

Best wishes,
Alex Fidanov
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
0
Xavier
Top achievements
Rank 1
answered on 29 Oct 2010, 04:05 AM
Yup.. I got it working already. Thanks.
Tags
TreeView
Asked by
Xavier
Top achievements
Rank 1
Answers by
Alex Fidanov
Telerik team
Xavier
Top achievements
Rank 1
Share this question
or