Alright.. two different user controls, both in use on the same master page. The nav user control on the left creates its' hyperlinks as such:
The header creates them with this:Code:<asp:HyperLink NavigateUrl='<%# "http://" & Request.ServerVariables("SERVER_NAME") & "/products.aspx?DEPT=" & eval("ID") & "&NAME=" & Eval("Text") %>' ID="hyp2" Text='<%#Eval("Text") %>' runat="server"></asp:HyperLink>
Now the fun question.. why does the first work perfectly and the second doesn't even create an href on the rendered <a> tag?Code:<asp:HyperLink ID="hypCheck" NavigateUrl='<%#"http://" & Request.ServerVariables("SERVER_NAME") & "/checkorder.aspx" %>' runat="server" Text="Check My Order"></asp:HyperLink>


Reply With Quote
