title: Make PDF display inline instead of separate Acrobat Reader window
body: <p>I've got an ASP.NET ashx class that retrieves data from a database, creates a PDF file using iTextSharp, and streams the PDF to the browser. The browser (IE and Firefox at least) is launching Acrobat Reader as a separate window to open the file. I'd like for it to display inline within the browser.</p>
  
  <p>Is that something I can completely control from the server side? I'm already setting the Content-Type header to application/pdf, and I've tried setting Content-Disposition and Content-Length. Nothing so far has worked.</p>
  
  <p>Is there another header I'm missing? Is there something in the PDF itself that tells the browser how to display it? Any other ideas?</p>