Skip to Content
Former Member
May 21, 2015 at 09:07 AM

Crystal report viewer print button does not work correctly


Hi Team

I am new to CE Reports and using crystal report viewer. Issue I am facing with Crystal report viewer is the print button is not opening the print options window. It is not even opening the pdf in the new window.

But when I see the console after clicking on the print button the pdf output is returned in the post request but does not display in the UI. Please find the screenshot below. Issue here is PDF content is returned before opening the printoptions popup and the content is not displayed to the user.

CE Version: CR 13 with SP5, .net sdk client Redistributable 32 bit 4.1 sp5.


crystalReportViewer.ParameterFieldInfo = pfs;

crystalReportViewer.HasExportButton = true;

crystalReportViewer.HasDrillUpButton = false;

crystalReportViewer.HasRefreshButton = false;

crystalReportViewer.PrintMode = PrintMode.Pdf;

ReportSource ceReportSource = (new ReportProvider()).RetrieveReportSource(enterpriseSession, reportID);

crystalReportViewer.ReportSource = ceReportSource;

References added: