I have an ASP.NET website that generates a PDF using Active Reports' PDFExport. The PDF then opens in a new window.
Unfortunately this process is very slow and is being used in a hospital environment where quick results are needed. I am looking for any suggestions on how to get this PDF displaying as quickly as possible (even in the same window/page?).
I am also looking at the possibility of skipping the view stage altogether and taking the user straight to the print dialog. I've done this before in WinForms, but can I pull it off in web?
Included below is the current code.
this.pdfExport1.Security.Encrypt = true;
this.pdfExport1.Security.Permissions = DataDynamics.ActiveReports.Export.Pdf.PdfPermissions.AllowPrint;
m_stream.Position = 0;
Response.ContentType = "application/pdf";
Response.AddHeader("content-disposition", "inline; filename=MyExport.pdf");