There seems to be a problem with the XamDataTree in that it does not display Child nodes when copying (dragging) from another tree.
The child data collection is there, but unless I'm doing something wrong, the Nodes property of the Child node is not being set correctly.
I'm attaching a sample for you to review.
You can test it by dragging a Country node from one Continent node of a tree to a a Continent node of the other tree. This should copy the Country node along with its City child nodes.
Is there something that I need to do to make the Tree show the copied child nodes?
Hello Luis,
I am glad that you have managed to solve your issue.
Let me know, if you need any further assistance on this matter.
Never mind, I should add (copy) the nodes by modifying the tree's data source instead of the nodes collection of the tree control.
I was following the suggestion from this post: http://ko.infragistics.com/community/forums/t/78111.aspx, but I just realized that it is not the best way to do it.