title: asp.net open hyperlinkfield in new window
body: <p>I have a hyperlinkfield inside of a grid view. As of right now I am using <strong>target="_blank"</strong> and when I click on the hyperlink text in the 'path' column, the link opens in a new tab. I would like for the link to open in a new window. Can anyone help? </p>
  
  <p>I am using visual c# 2015 </p>
  
  <p>Here is the code I am using to define the columns in my gridview:</p>
  
  <pre><code>    &lt;Columns&gt;
          &lt;asp:BoundField DataField="id" HeaderText="id" SortExpression="id" /&gt;
          &lt;asp:BoundField DataField="date" HeaderText="date" SortExpression="date" /&gt;
          &lt;asp:BoundField DataField="timeOpen" HeaderText="timeOpen" SortExpression="timeOpen" /&gt;
          &lt;asp:BoundField DataField="timeClose" HeaderText="timeClose" SortExpression="timeClose" /&gt;
          &lt;asp:hyperlinkfield headertext="path"
              datatextfield="path"
              datanavigateurlfields="path"
              datanavigateurlformatstring="https://www.harris.com/{0}"
              target="_blank" /&gt;
      &lt;/Columns&gt;
  </code></pre>