is there any way to make the li with the id liTest and liLogout invisible?
I tried this:
liTest.Visible = false
but I get this error:
Error 3, The name 'litest' does not exist in the current context
<asp:LoginView runat="server" ViewStateMode="Disabled">
<AnonymousTemplate>
<ul class="nav navbar-nav navbar-right">
<li><a runat="server" href="~/Account/Register">Register</a></li>
<li><a runat="server" href="~/Account/Login">Log in</a></li>
<li><a ID="liTest" runat="server" >test</a></li>
<li><a ID="liLogout" runat="server" >Logout</a></li>
</ul>
</AnonymousTemplate>