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

Cannot make the drag and drop work

2 Answers 68 Views
TreeListView
This is a migrated thread and some comments may be shown as answers.
Olga
Top achievements
Rank 1
Olga asked on 25 Mar 2011, 04:05 AM
What am I doing wrong?

I have a TreeListView that has an item source equal to
IObservable<TreeNode> Items   (which is a hierarchical structure that I populate from the data in the DB using RIA services)

I also set DragAndDrop = true in the xaml.

I tried also having

PreviewDragEnded

set to an event handler and doing the add TreeNode to one parent and remove from another, but that didn't work.

What do I need to do to have DragAndDrop working?


i would attach a zipped file with the solution, but i dont see a way to do it

Thanks,
Olga

2 Answers, 1 is accepted

Sort by
0
Ivan Ivanov
Telerik team
answered on 29 Mar 2011, 03:50 PM
Hi Olga,

I have prepared an example project for you that represent drag&drop within a TreeListView. Please, refer to it and inform us if this approach meets your requirements. 

Best wishes,
Ivan Ivanov
the Telerik team
0
Olga
Top achievements
Rank 1
answered on 29 Mar 2011, 07:13 PM
Great! it worked. thanks alot!
Tags
TreeListView
Asked by
Olga
Top achievements
Rank 1
Answers by
Ivan Ivanov
Telerik team
Olga
Top achievements
Rank 1
Share this question
or