title: adding onclick attributes on anchor
body: <p>I am trying to adding onclick attriubutes on anchor tag in this way</p>
  
  <pre><code>chq.Attributes["Onclick"] = "http://172.17.0.221:81/CheckVerification1.aspx?id=" + Session["U_EMAIL"].ToString();
  </code></pre>
  
  <p>This is my anchor tag</p>
  
  <pre><code>&lt;a id="chq" runat="server"  target="_blank"&gt;Cheque&lt;/a&gt;
  </code></pre>
  
  <p>But this way is not wokring can any one give alternative method to do this</p>