[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 346
  • Last Modified:

Default TreeView load with child nodes open one level down

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
0
billyleo
Asked:
billyleo
1 Solution
 
burakiewiczCommented:
This might work for you use
Treeview1.ExpandDepth = 1; or how ever far you want it expanded
0
 
billyleoAuthor Commented:
v good!
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now