title: Open New Tab in ASP.NET web page
body: <p>After clicking on ASP.NET button, it redirects to correct website but on the same tab, not in a new tab, which I need to do. After clicking the button twice, it redirects the website in a new tab. I don't know what's wrong with my code!</p>
  
  <p>The ASP.NET button control looks like this:</p>
  
  <pre><code>&lt;asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="../Images/neu.png" OnClick="New_btn_click" /&gt;
  </code></pre>
  
  <p>And the code that is run is this:</p>
  
  <pre><code>protected void New_btn_click(object sender, EventArgs e)
  {
      ImageButton1.Attributes.Add("onclick", "window.open('new_model_epk.aspx');return false;");   
  }
  </code></pre>