As far as I know, the TreeView control is not included in ASP.Net 1.1 (it is in ASP.Net 1.0). If this is what you are using, you can find the treenode index (the one that you picked) by determining which node received the event (for example, the onexpand event).
The treeview's nodes are indexed starting at 0 and any child of "0" gets appended with a "." and then starts again at "0" and so forth.
For example:
0
0.0
0.1
0.1.0
1
1.0
1.0.0
2
2.0
...and so forth. It is also important to note that this control is not supported by Microsoft and it's nice, but it's not great. Last I heard there was supposed to be an updated version of this in Whidbey, but I haven't had a chance to check it out.
J
|