title: Asp.Net Tree View selected node with Expand depth
body: <p>I am constructing an asp.net tree view by querying sharepoint user profiles.
  The accountname that is to be selected and the root node accountname is being read from query string.</p>
  
  <p>I also need to have configurable exapanddepth for the tree.</p>
  
  <p>How do i select the node if the node belongs to the 4th level and say the expanddepth is less than 4 (1,2, or 3).</p>
  
  <p>Setting relevant node in the 4 th level as selected and setting the ExpandDepth property of the treeview does not look to help. </p>
  
  <p>So essentially, i need to keep the tree expanded untill the selected node(only that navigation that leads to the selected node) but keep other part of the tree expanded only till as defined by expanddepth.</p>
  
  <p>Thanks</p>