Posted 20 Oct 2009
Link to this post
In times past I've successfully implemented drag & drop capability with the RadTreeView. But now I have a specialized situation for which I don't know if there's a solution:
Imagine you have a tree with 4 distinct types of nodes:
In this tree there are 4 levels of nodes. A B-node can only be a child of an A-node, a C-node can only be a child of a B-node, and a D-node can only be a child of a C-node.
What I'd like to be able to do is once a drag operation has been commenced by the user, restrict which nodes the dragged one can be dropped on. Thus for example if the user starts dragging a D-node then it can only be dropped on a C-node.
If this is possible, how would one accomplish it?