title: Open page in new tab using the HyperLink ?
body: <p>I am trying to open the new page in the new tab after clicking on the web link, I am using the <code>asp:hyperlink</code> the hyperlink <code>navigate url</code> is getting bind in the grid but when I tried to run it throws <code>Server tag not formed</code>. I have tried using <code>linkbutton</code> also but could not able to open the link into new tab here is my hyperlink code .</p>
  
  <pre><code>  &lt;asp:HyperLink NavigateUrl='&lt;%# String.Format("ViewTask.aspx?TaskID={0}",Helper.GetEncryptedData((Eval('ID').ToString()))) %&gt;' Target="_blank" runat="server" &gt;View&lt;/asp:HyperLink&gt;
  </code></pre>
  
  <p>I have tried using the <code>anchor tag</code>,<code>Link Button</code> and <code>Hyperlink</code> button nothing works.
  With anchor tag it opens the link in the new tab but the url is encrypted which gives messed up querystring values on code behind of redirected page with <code>HTML encoded</code> values in query string.
  With <code>LinkButton</code> i was able to get the write querystring values but not able to open it in the new tab.
  And with <code>Hyperlink</code> it gives above mentioned error.Any help would be great.</p>