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

RadTreeViewItem not disappear after drag and drop

2 Answers 51 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
Carlos Rodriguez
Top achievements
Rank 1
Carlos Rodriguez asked on 22 Oct 2009, 10:02 PM
How can I avoid RadTreeViewItem disappears after a drag and drop?

2 Answers, 1 is accepted

Sort by
0
Accepted
Miroslav
Telerik team
answered on 23 Oct 2009, 02:01 PM
Hi Carlos,

You can handle the PreviewDragEnded event, like so:

private void treeView_PreviewDragEnded(object sender, RadTreeViewDragEndedEventArgs e)
{
    e.Handled = true;
}

This will make sure that the tree view does not modify its data source.

Kind regards,
Miroslav
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Carlos Rodriguez
Top achievements
Rank 1
answered on 23 Oct 2009, 03:00 PM
Very simple, jejejeje,
Miroslav thank you very much!
Greetings!
Tags
TreeView
Asked by
Carlos Rodriguez
Top achievements
Rank 1
Answers by
Miroslav
Telerik team
Carlos Rodriguez
Top achievements
Rank 1
Share this question
or