Open doarrison opened 6 years ago
We suspect the mentioned problem occurs when the chrome print dialog opened before completely render the report body. So we have an option to adjust or increase the popup open delay timing in ReportViewer control by using reportPrint event as shown in below code example,
` Githubissues.
Hi, I'm currently having trouble with using the ReportViewer control. Only in Chrome (it works fine on Firefox and Edge) when I click the print button the print dialogue appears before the document body of the new window is loaded causing the print to be of blank pages.
Scanning through ej.web.reportviewer.min.js seems to indicate that the current print method is using a 500ms timeout before calling print. I'm guessing my content didn't load in that time which is causing my problem. Any chance of attaching the print function to the body load event of the new window instead?