title: href click problem if i add runat="server" attribute in asp.net
body: <p>here is one href on aspx page</p>
  
  <p><strong>ASPX:</strong></p>
  
  <pre><code>&lt;a id="hrfReport" href="&lt;%=sApplicationURL%&gt;Reports.aspx"&gt;Report&lt;/a&gt;
  </code></pre>
  
  <p><strong>CODE BEHIND:</strong></p>
  
  <pre><code>sApplicationURL = "http://localhost/";
  </code></pre>
  
  <p>now if i click on href page redirected to the reports page but if i add runat="server" attribute then href click not worked.actually i want to make it disable on particular condition.</p>
  
  <p>Does anyone know how to do this?</p>