I have googled this, searched this, looked through SO and other sites (I\'ve been trying to read on this issue for hours now), but I still can\'t seem to find a satisfactory
This is how I do to open a PDF document in the browser from an ASP.NET (aspx) page. In the page OnLoad:
this.Response.Clear();
this.Response.Buffer = true;
this.Response.ContentType = "application/pdf";
this.Response.AddHeader("content-length", pdfReportStream.Length.ToString());
this.Response.BinaryWrite(pdfReportStream.ToByteArray());
this.Response.End();