Report Viewer Button in IE 11

I am using the Report Viewer for remote reporting, and I want the print control button in the report header to use IE 11.

This question is similar to the following:

Print button not available in ReportViewer using IE11

I could not solve this problem. I upgraded Runtime 2012 Viewer to 11.1.3452.0 and SQL Server 2008 R2 to SP2.

I am using Windows Server 2008 R2 and .NET framework 4.5.1 on the server. IIS version 7.

I see print buttons in all previous versions of IE (10,9,8, ....)

I also tried to force the IE10 user agent to use this line: meta http-equiv = "X-UA-Compatible" content = "IE = 10"

In accordance with the answers to the above question, I should have a print button. Any other suggestions besides compatibility mode or creating my own print button?

+5
source share
2 answers

The ReportViewer client print function is dependent on ActiveX , which is not supported by any browser other than IE 9 (or earlier) , so you won’t get a print button when the Chrome, Firefox or IE10 / 11 browser is involved. For printing, you must export to PDF and print it.

http://forums.asp.net/t/1962293.aspx?+Report+Viewer+print+Button+missing+from+browser

+3
source

IE needs an add-on, RSClient , for the print button to work. Typically, when a user downloads a report in IE, you will see a prompt to download and install the add-in. Unfortunately, a lot can prevent this. I'm not sure this will help you, but security settings were a problem for us.

Try the following:

  • Remove the RSClientPrint add-on, if installed. (Open Control Panel, Internet Properties. Go to the Programs and Manage Add-ons tab.)
  • Go to the Security tab, select the Trusted Sites zone and click the Sites button.
  • Add your website to the zone and save the changes.

Open IE and go to your website and report. We hope you see an invitation to download and install RSClientPrint , and everything will work well. If he is not trying to download, I would focus on the server.

0
source

Source: https://habr.com/ru/post/1200939/


All Articles