I have a tree view control in which I only ever want to have one root node and it can contain as many children as it wants. When it comes to drag and drop how can I allow the user to drop a rule on the root node but only allow it to be dropped as a child of the root rule? Thanks!
1 Answer, 1 is accepted
0
Accepted
Svett
Telerik team
answered on 06 Mar 2012, 09:51 AM
Hi Patrick,
You can use the DragOverNode event of the RadTreeView control to prevent dropping a node at the wrong position. You can use the following code snippet: