Home > DeveloperSection > Forums > Hyperlink not navigating to the predefined URL in asp.net
Chintoo Semi

Total Post:135

Posted on    November-17-2014 11:18 PM

 ASP.Net ASP.Net 

 1 Reply(s)
 771  View(s)
Rate this:

I have a hyperlink that does not navigate to the set URL. It is dead simple I have no idea what is wrong. The link in my aspx page:


<asp:HyperLink ID="HyperLinkLostPass" runat="server" 

   Text="Forgot username or password?" NavigateUrl="~/test.aspx" Target="_self">    </asp:HyperLink>

Sumit Kesarwani

Total Post:378

Posted on    November-17-2014 11:42 PM

Hi Chintoo, 

You can solve this by adding the following to your web.config file:

  <location path="test.aspx">



        <allow users="*"/>




Don't want to miss updates? Please click the below button!

Follow MindStick