title: open new tab using gridview CommandField
body: <p>I Have a Gridview as described below : <br></p>
  
  <pre><code>&lt;asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataKeyNames="TrackingNumber" OnSelectedIndexChanged="GridView1_SelectedIndexChanged1"
  DataSourceID="SqlDataSource1"&gt;
  &lt;Columns&gt;
  &lt;asp:BoundField DataField="TrackingNumber" HeaderText="TID" ReadOnly="True" SortExpression="TrackingNumber" /&gt; 
  &lt;asp:BoundField DataField="NationalCode" HeaderText="AID" SortExpression="NationalCode" /&gt;
  &lt;asp:BoundField DataField="ApplicantFName" HeaderText="AFName" SortExpression="ApplicantFName" /&gt;
  &lt;asp:BoundField DataField="ApplicantSex" HeaderText="ASex" SortExpression="ApplicantSex"/&gt;
  &lt;asp:BoundField DataField="dateOfRegister" dataformatstring="{0:yyyy/MM/dd}" HeaderText="RegisterDate" SortExpression="dateOfRegister"/&gt;
  &lt;asp:CommandField ButtonType="Image" SelectImageUrl="~/Admin/images/select.png"  ShowSelectButton="True" /&gt;
  &lt;/Columns&gt;
  &lt;/asp:GridView&gt;
  </code></pre>
  
  <p>and on behind code I wrote this code:<br></p>
  
  <pre><code>protected void GridView1_SelectedIndexChanged1(object sender, EventArgs e)
  {
    Session["TID"] = GridView1.SelectedRow.Cells[0].Text;
    Response.Redirect("../Recruitment/InitPrint.aspx");
  }
  </code></pre>
  
  <p>When user click on command field button, page redirect to <code>InitPrint.aspx</code> and my code doing well. but I want <code>InitPrint.aspx</code> open up in new tab page that <code>Session["TID"]</code> will be read there.<br>
  Thanks for your consideration.</p>