>Hello,
>
>I'm using the Treeview control (6) and I run into some problems when I need to change the order of nodes. What I'm doing now is, when the order needs to be changed, I reload the complete tree. but this can take quite some time when the number of nodes is high.
>Can I add nodes before/after a specific node?
>
>Thanks for your help in advance!
Yes, you can. The Nodes collection's Add method allows you to specify the position of a new node. You do this by specifying the Relative (in terms of its key string or index number) as the first parameter and its relationship in the second parameter. See the Treeview help on this method for further details.
George
Ubi caritas et amor, deus ibi est