Treeview: How to know drag node is Parent of drop node

  • Thread starter Thread starter Sudip_inn
  • Start date Start date
S

Sudip_inn

Guest
see the Node hierarchy. screen shot given

1601313.png

When user try to drag a node called Node 5 to Node 7 then i have to detect drag node is some how immediate Parent or parent of parent or parent of parent of parent of drop node ?

i have to prevent user to drag parent node as per hierarchy onto child Node....how to achieve it by code ?

Parent Node can not be drag drop to its immediate child or of any child in hierarchy. please guide me how to do it.

but parent node can be dragged to other parent or any child node. thanks

Continue reading...
 
Back
Top