title: How to open a new tab with response.addheader?
body: <p>I am wondering how to open a new tab with the following bit of code. Using "Inline" instead of attachment will open the pdf in the current window. By using "attachment", a Save box opens and download the pdf. I don't want to do either. I want the pdf to open in a new tab or even a new window is fine. Is there anyway? Pdf is dynamically created and can't just use </p>
  
  <pre><code>        &lt;a href="x" target="blank"&gt;pdf&lt;/a&gt;.
  </code></pre>
  
  <p>Thanks alot.</p>
  
  <pre><code>        Response.ContentType = "application/pdf"
          Response.AddHeader("content-disposition", "attachment; filename=Table.pdf")
          Response.BinaryWrite(m_stream.ToArray())
          Response.End()
  </code></pre>