title: The server tag is not well formed for anchor tag in Gridview
body: <p>Why</p>
  
  <pre><code> &lt;a id="link" runat="server" href="javascript:downloadFile('&lt;%#Eval("TempKey") %&gt;')"&gt;&lt;%#Eval("ShortFileName") %&gt;&lt;/a&gt;
  </code></pre>
  
  <p>is giving me <code>The server tag is not well formed</code> exception in my asp.net application?</p>
  
  <p>What' is wrong ? If I remove <code>runat="server"</code>, then it is OK . But I need to handle it (which is inside a gridview) from the code behind .</p>
  
  <p>Thanks a lot !!</p>