>Shouldn't the node be moved when you change its parent node?
>
>The children would move automatically since the are still its child.
That's what I thought but it does not work ... or I'm doing it wrong.
Let's say nodA (node being moved) and nodeB (node being drop on). When I drop nodA and replace nodA.parent.Key with nodB.key then I get a "key not unique" error message. I'm not sure why and figured the treeview tries to copy nodeA to its new position and finds that nodeA has a previous position and raises an error.
So I tried removing nodeA before re-adding it to the treeview with its new parent ... but I lose all the childs (remove method removes node and its child).
I'm sure this should work but I do not get it. Any advices?
Ben Rail
Business Solutions
LOGI.design