title: c# redirect to new tab and redirect current page
body: <p>i want to pres on button in aspx page and then in the code behind (cs), redirect the current page to different link and open new tab with new link.</p>
  
  <p>i tried to do:</p>
  
  <pre><code>  Response.Write("window.open('"+newPath+"','_blank')");
    Response.Redirect("~/book_details.aspx);
  </code></pre>
  
  <p>but every time i redirect only to ~/book_details.aspx (the second redirect) and the new tap with newPath does not open.</p>
  
  <p>anybody have an idea how to implement it correctly?</p>
  
  <p>thanks.</p>