Hi paul orsillo,
In order to disable dropping onto the same RadTreeView
, you need to handle the PreviewDragEnded
sender, RadTreeViewDragEndedEventArgs e)
If you choose to use this approach you won't need to set dragDrop:RadDragAndDropManager.AllowDrop property or handle the OnDropQuery() and OnDropInfo() events. Also, the AllowDrop
property controls whether the RadTreeView can be a drop target for purposes of Silverlight native drag-and-drop operations (like dropping files on the plugin), which are different from the TreeView DragAndDrop operations.
Therefore the definition of your RadTreeView can be:
You can also take a look at this forum thread
, where similar scenario is discussed.
I hope this information helps.
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?
Telerik Public Issue Tracking
system and vote to affect the priority of the items