Well it depends a lot on whats in your mytreenodeclass.
Short answer is, pass the URL in the constructor.
LizR
Posting Virtuoso
1,791 posts since Aug 2008
Reputation Points: 196
Solved Threads: 190
um
Thats not a class, thats just a method
You would need to pass the treeview, or return collection of nodes.
LizR
Posting Virtuoso
1,791 posts since Aug 2008
Reputation Points: 196
Solved Threads: 190