#
Ayende Rahien
If you are using css to show the menu's items with contrasting colors, you'll get an empty box when you're not logged as If you are using css to show the menu's items with contrasting colors, you'll get an empty box when you're not logged as administrator because the >li<>/li< is sent anyway
The solution to this is to edit Nav1.ascx and add the following:
(Convert the { to >, etc, because the form refuse to post otherwise)
{%=hplAdmin.Visible? "{li}" : ""%}
{asp:hyperlink id="hplAdmin" runat="server" visible="False"}Admin{/asp:hyperlink}
{%=hplAdmin.Visible? "{/li}":""%}
The solution to this is to edit Nav1.ascx and add the following:
(Convert the { to >, etc, because the form refuse to post otherwise)
{%=hplAdmin.Visible? "{li}" : ""%}
{asp:hyperlink id="hplAdmin" runat="server" visible="False"}Admin{/asp:hyperlink}
{%=hplAdmin.Visible? "{/li}":""%}