title: how to remove or hide tree node in dev express navbar control containing treelist, using code
body: <blockquote>
    <p>how to remove or hide tree node in dev ex press navbar control 
    containing treelist, using code<em>emphasized text</em></p>
  </blockquote>
  
  <pre><code> foreach (ToolStripMenuItem mi in mastersToolStripMenuItem.DropDownItems)
              {
                  if (mi.Text == "Batch")
                  {
                      mastersToolStripMenuItem.DropDownItems.Remove(mi);                       
                  }
              }
  </code></pre>
  
  <blockquote>
    <p>and </p>
  </blockquote>
  
  <pre><code>foreach (ToolStripMenuItem mi in mastersToolStripMenuItem.DropDownItems)
              {
                  if (mi.Text == "Batch")
                  {
                      mi.visible=fase;                   
                  }
              }
  </code></pre>
  
  <blockquote>
    <p>both not working</p>
  </blockquote>