G
Guest
With code behind I create a PDF-report and show it.
System.IO.MemoryStream ReportStream
= (System.IO.MemoryStream)crReportDocument.ExportToStream(ExportFormatType.PortableDocFormat);
Response.ClearContent();
Response.ClearHeaders();
Response.ContentType = "application/pdf";
Response.BinaryWrite(ReportStream.ToArray());
Response.End();
The PDF is shown in the same window. How can I show the PDF in a new window?
Thanks in advance.
System.IO.MemoryStream ReportStream
= (System.IO.MemoryStream)crReportDocument.ExportToStream(ExportFormatType.PortableDocFormat);
Response.ClearContent();
Response.ClearHeaders();
Response.ContentType = "application/pdf";
Response.BinaryWrite(ReportStream.ToArray());
Response.End();
The PDF is shown in the same window. How can I show the PDF in a new window?
Thanks in advance.