I have ASP.NET Webforms which is using ReportViewer control to print reports (LocalReport) and, since direct printing is not working in Chrome and Firefox, i need to add button which will somehow do it in Chrome and Firefox. Any ideas?
Printing using ReportViewer in Chrome and Firefox
asp.netprintingreportviewer
Related Topic
- Jquery – SSRS print button in Chrome and Firefox
- SSRS 2008 R2 – SSRS 2012 – ReportViewer: Reports in Safari/Chrome but works fine in Firefox/Internet Explorer 8… why
- Google-chrome – Reportviewer print button in Google Chrome
- Javascript – How to concatenate a parameter string in javascript function on string in appended html
Best Answer
I had the same issue once and found that explicitly specifying what controls in the ReportViewer control should be shown did the trick. I also added a ScriptManager to the page. The code below works in FireFox & Chrome. Also, the ReportViewer control has issues with other browsers when used in conjunction with UpdatePanels. Depending on how your markup is setup, these might be your issues.
Some issues such as ActiveX occur with older versions of the reporting controls. You can find out which version by looking in the web.config file. Version 8 and lower have this issue.
Workarounds can be found here: ReportViewer Client Print Control “Unable to load client print control”?