How to disable a menu item on page load in asp.net 4.0
<pre><code>&lt;Items&gt;
    &lt;asp:MenuItem NavigateUrl="~/Default.aspx" Text="Home"/&gt;
    &lt;asp:MenuItem NavigateUrl="~/About.aspx" Text="About"/&gt;
&lt;/Items&gt;
</code></pre>

<p>I have this menu How can I disable it during page load</p>

<pre><code>page load
If (Userrole==Something)
{
hide menu item 2
}
</code></pre>

<p>How can I do that.</p>
