title: ASP MVC Using Hyperlink Control
body: <p>I have the following hyperlink control:</p>
  
  <pre><code>&lt;asp:HyperLink ID="hypTest" runat="server" NavigateUrl="~/Views/TestFolder/TestPage.aspx" &gt;
      Text here
  &lt;/asp:HyperLink&gt;
  </code></pre>
  
  <p>But it doesn't find the page - although the page does exist.  The error that I get is:</p>
  
  <pre><code>Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable.  Please review the following URL and make sure that it is spelled correctly.
  
  Requested URL: /Views/TestFolder/TestPage.aspx
  </code></pre>
  
  <p>My guess is that the tilde (~) doesn't work here.  If this is the case then why, and how can I get around it?</p>