
Select first item in TreeView control?
Hi all,
I'm loading a treeview control with a bunch of items. I have sorting
enabled. After loading, I want to select the first item in the list.
The problem is that, unlike a regular ListBox control, the index
stays with the item when it's sorted. So, the item in the TreeView
with index 1 isn't necessarily the first item when the list is sorted.
I've tried everything I can think of. Can someone tell me how to
just select the first item in the list so the NodeClick event will
trigger. Thanks.
- Dave