title: how to open page in new tab with response.redirect or response.write
body: <p>I have a button event. At the end of the event I am redirecting to another page. But unable to open in new tab. </p>
  
  <p>Giving compilation error - </p>
  
  <blockquote>
    <p>newline in constant</p>
  </blockquote>
  
  <pre><code>//Response.Redirect("DeliveryChallanPrint1.aspx?val=" +this.txtPoNo.Text);
  
  Response.Write("&lt;script&gt;");
  Response.Write("window.open('DeliveryChallanPrint1.aspx?val="+this.txtPoNo.Text','_blank')");//error - newline in constant
  Response.Write("&lt;/script&gt;");
  </code></pre>