We help IT Professionals succeed at work.

Default TreeView load with child nodes open one level down

billyleo
billyleo asked
on
Hey, So I'm using a treeview navigation menu in visual studio. How ever, when the page loads, the tree view is all inside the parent node("Home") The thing is, I wish for it to show all the nodes which are the direct child nodes of the home node. But I can't figure this out ...
Please help me if you know the answer to this one.
THX
Comment
Watch Question

This might work for you use
Treeview1.ExpandDepth = 1; or how ever far you want it expanded

Author

Commented:
v good!

Explore More ContentExplore courses, solutions, and other research materials related to this topic.