title: NavigateUrl="#" becomes href="SubFolder/#"?
body: <p>This isn't exactly Fermat's last theorem, but it keeps coming back to annoy me like an unpaid phone bill from college. Sometimes I want to create a <code>HyperLink</code> that does not cause a postback, so I want the target url to be #. When the markup happens to be from a UserControl in a subfolder,</p>
  
  <pre><code>/
  |- Home.aspx (uses UC.ascx)
  |- Sub
     |- UC.ascx
  </code></pre>
  
  <p>the URL is rewritten with a relative path, e.g.</p>
  
  <pre><code>&lt;asp:HyperLink runat="server" NavigateUrl="#" &gt;Click Me!&lt;/asp:HyperLink&gt;
  </code></pre>
  
  <p>becomes</p>
  
  <pre><code>&lt;a href="SubFolder/#"&gt;Click Me!&lt;/a&gt;
  </code></pre>
  
  <p>Which is, unfortunately, wrong. Obviously I can get around this by not using a server control, but it seems stupid. Can this be avoided?</p>
  
  <p>The point here is I will add a click event with jQuery or in code-behind, and I never want it to cause a postback, but I want it to be a hyperlink for CSS reasons.</p>