title: how to get the immediate previous node and next node of the Current selected TreeNode in asp.net?
body: <p>I have created TreeView in asp.net page.When user select the any node then i want to get the immediate previous TreeNode and immediate next TreeNode of the current selected TreeNode.There is a method in C# windows form application.But it is not available in web controls TreeView.</p>
  
  <p>for example :
  <img src="https://i.stack.imgur.com/oMdD0.jpg" alt="enter image description here"></p>
  
  <p>Suppose,</p>
  
  <ol>
  <li><p>user selecting "Sales Order Detail" then i want to get previous Node ->"Product Line   Sales" and next Node ->"Territory Sales Drilldown"</p>
  
  <p>2.User selecting "SampleReports" then i want to get the Previous Node->"Employees" and next Node ->"Company Sales".</p></li>
  </ol>