如何解决mozilla和chrome的报表查看器中的问题打印? [英] How to solve problem print in report viewer for mozilla and chrome?

查看:77
本文介绍了如何解决mozilla和chrome的报表查看器中的问题打印?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用报告查看器进行报告。但是当我在chrome或firefox中运行时。报告查看器中的打印按钮被禁用。



我需要解决方案才能解决此问题,例如代码不能用于激活Active-X。

谢谢!!!

解决方案

ReportViewer Web服务器控件提供ActiveX打印控件。第一次单击ReportViewer工具栏上的打印按钮时,此控件将自动下载,并安装在客户端计算机上。如果用户未安装控件,则无法使用打印按钮。安装控件后,用户可以使用打印控件在ReportViewer Web服务器控件中打印报表。

根据浏览器设置,用户可能需要配置浏览器以启用ActiveX控件下载。要配置Internet Explorer以允许ActiveX控件下载,请按照下列步骤操作:

在Microsoft Internet Explorer中,从工具菜单中选择Internet选项,然后单击安全选项卡。

选择适当的Web内容区域(例如,受限制的站点),然后单击站点。

键入包含ReportViewer控件的Web应用程序的URL。

单击添加,然后单击确定。

单击Web内容区域的自定义级别按钮。滚动到ActiveX控件和插件节点。

单击提示下载已签名的ActiveX控件,然后单击确定。




引自: https://msdn.microsoft.com/en-us/library/ms251693.aspx [ ^ ]

I make report using report viewer. But when i run in chrome or firefox. button for print in report viewer is disabled.

I need solution to solved this problem like code not use to activated Active-X.
Thanks!!!

解决方案

The ReportViewer Web server control provides an ActiveX print control. This control downloads automatically the first time the Print button on the ReportViewer toolbar is clicked, and is installed on the client computer. If the user does not install the control, the Print button cannot be used. After the control is installed, users can use the print control to print reports in the ReportViewer Web server control.
Depending on browser settings, the user may need to configure the browser to enable an ActiveX control download. To configure Internet Explorer to allow ActiveX control downloads, follow these steps:
In Microsoft Internet Explorer, from the Tools menu, choose Internet Options, and then click the Security tab.
Select the appropriate Web content zone (for example, Restricted sites), and then click Sites.
Type the URL of the Web application that contains the ReportViewer control.
Click Add, and then click OK.
Click the Custom Level button for the Web content zone. Scroll to the ActiveX controls and plug-ins node.
Click Prompt for Download signed ActiveX controls, and then click OK.


referenced from : https://msdn.microsoft.com/en-us/library/ms251693.aspx[^]


这篇关于如何解决mozilla和chrome的报表查看器中的问题打印?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆