ASP.NET Menu Problem
<p>I have a list of asp.net menu items:</p>

<pre><code>&lt;asp:Menu ID="Menu1" runat="server"  OnLoad="Menu1_Load"&gt;
    &lt;Items&gt;
        &lt;asp:MenuItem Text="Create Member" Value="Create Member" NavigateUrl="~/create-member.aspx"&gt;&lt;/asp:MenuItem&gt;
        &lt;asp:MenuItem Text="Edit Member" Value="Edit Member" NavigateUrl="~/edit-member.aspx"&gt;&lt;/asp:MenuItem&gt;
        &lt;asp:MenuItem Text="Result Export" Value="Result Export" NavigateUrl="~/result-export.aspx"&gt;&lt;/asp:MenuItem&gt;
        ...
        ...
    &lt;/Items&gt;
&lt;/asp:Menu&gt;
</code></pre>

<p>How can I highlight and remove hyperlink for the currently selected <code>MenuItem</code>?</p>

<p>This is the modified version of Josh's answer (we don't need to set the navigateUrl):</p>

<pre><code>        foreach (MenuItem menuItem in Menu1.Items)
        {
            if (Request.PhysicalPath == Server.MapPath(menuItem.NavigateUrl))
            {
                menuItem.Selected = true;
                menuItem.Selectable = false;
                break;
            }
        }
</code></pre>
