title: Hide specific tabs in navigation menu
body: <p>I have the following navigation menu -</p>
  
  <pre><code>&lt;asp:Menu ID="NavigationMenu" runat="server" CssClass="menu" 
                  EnableViewState="false" IncludeStyleBlock="false" Orientation="Horizontal" &gt;
                  &lt;Items&gt;
                      &lt;asp:MenuItem NavigateUrl="~/Default.aspx" Text="Home"/&gt; 
                      &lt;asp:MenuItem NavigateUrl="~/Test.aspx" Text="Profiles"/&gt;
                  &lt;/Items&gt;
              &lt;/asp:Menu&gt;
  </code></pre>
  
  <p>In the code behind I can set visible to false -</p>
  
  <pre><code>((System.Web.UI.WebControls.Menu)Master.FindControl("NavigationMenu")).Visible = false;
  </code></pre>
  
  <p>However how can I access the specific MenuItems so that when Default.aspx loads, Test.aspx is not visible?</p>