title: ObjectListView Treeview Get Selected tree view node Id
body: <p>I used <code>objectlistview</code> <code>TreeViewList</code> . I have a problem, i want to get the node id from my treeviewnode. i placed a <code>contextMenuStrip1</code> when user right click . i popup the the Context Menu strip. 
  And i want that when user click on this Like Not Secured . i want to get the selected row value Id in this picture that is <code>36993</code> . Below is the screen of my page . 
  <img src="https://i.stack.imgur.com/GSatZ.png" alt="enter image description here"> </p>
  
  <p>Below is the code for my context menu open and click event .</p>
  
  <pre><code>  treeListView1.CellRightClick += new EventHandler&lt;BrightIdeasSoftware.CellRightClickEventArgs&gt;(treeListView1_CellRightClick);
    void treeListView1_CellRightClick(object sender, BrightIdeasSoftware.CellRightClickEventArgs e)
      {
  
          contextMenuStrip1.Show(Cursor.Position);
  
      }
  </code></pre>
  
  <p>in this line of code i want to find the selected node id that is not working </p>
  
  <pre><code>private void command1ToolStripMenuItem_Click(object sender, EventArgs e)
      {
         // List&lt;Node&gt; _node = new List&lt;Node&gt;();
          object obj = e.GetType();
       object _node=  this.treeListView1.SelectedObjects ;
      }
  </code></pre>
  
  <p>also i try to find from this </p>
  
  <pre><code>private void command1ToolStripMenuItem_Click(object sender, EventArgs e)
      {
  
          int index = data.IndexOf((Node)treeListView1.SelectedObject)
      }
  </code></pre>
  
  <p>what i am doing wrong in this code . How can i resolve it . Thanks for your comments </p>