Customer support > Feature Requests
AttachTo could imply Nodes.Add
(1/1)
Joan Parera:
I think that when newNode.AttachTo(treeView) is called, then it should not be necessary to also call treeView.Nodes.Add(newNode).
I found that I had to call both functions to make my code work (if I do not, then the column that should display a custom control displays nothing).
Ruslan:
Hello Joan,
Both AttachTo and Nodes.Add are intended for adding the node to the treeview. If the only way you can add your node is call both of them, please show us your code because you shouldn`t call both of them simultaneously.
Navigation
[0] Message Index