Click here to Skip to main content
15,940,550 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi guys I amt at wits end trying to figure out how to make my ASP.NET page links work. You will see the runat="server" wroks fine if you open page, but does not work for sub links in the site.master file.

Can you advise how to make sublinks also get the correct path.

code:

Posted
Comments
ZurdoDev 23-Jun-15 10:35am    
I don't think non asp.net controls know how to parse ~

So, use <asp:hyperlink> instead of <a></a>
Richard Deeming 23-Jun-15 10:48am    
You forgot to HTML-encode your comment. I've taken the liberty of fixing it for you.
ZurdoDev 23-Jun-15 10:53am    
Thank you. I didn't even notice it wrong when I posted.

Thanks.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900