ASPX If statement not loading my content
So I have something like this: 

    <%If (Request.Url.ToString = "default.aspx") Then %>
            <li><a href="url">Link</a></li>
            <li><a href="url">Link</a></li>
        <%ElseIf (Request.Url.ToString = "anotherdefault.aspx") Then %>
            <li><a href="url">Link</a></li>
            <li><a href="url">Link</a></li>
<%End If%>            
   
But for some odd reason it isn't bringing up the links for that certain URL. But when I put a breakpoint on my vb page it works. Think that the IF statement is causing a css problem?
ASPX If statement not loading my content
===

So I have something like this: 

    <%If (Request.Url.ToString = "default.aspx") Then %>
            <li><a href="url">Link</a></li>
            <li><a href="url">Link</a></li>
        <%ElseIf (Request.Url.ToString = "anotherdefault.aspx") Then %>
            <li><a href="url">Link</a></li>
            <li><a href="url">Link</a></li>
<%End If%>            
   
But for some odd reason it isn't bringing up the links for that certain URL. But when I put a breakpoint on my vb page it works. Think that the IF statement is causing a css problem?