当前位置:编程学习 > C#/ASP.NET >>

RDLC报表打印按钮,在火狐浏览器中,不显示?

在IE浏览器里可以正常显示,并可以打印预览。 --------------------编程问答-------------------- VS2010 --------------------编程问答-------------------- <rsweb:ReportViewer ID="ReportViewer1" runat="server" Width="100%" Height="100%" ZoomMode="PageWidth" SizeToReportContent="True" WaitMessageFont-Size="14pt" ShowExportControls="False"
            Style="overflow: hidden;">
设置红色部分属性

可以看看这个帖子http://social.msdn.microsoft.com/Forums/en-US/sqlreportingservices/thread/e25d0cc3-1890-4893-968c-9876ccd684b5 --------------------编程问答--------------------
Quote: 引用 2 楼 Chinajiyong 的回复:

---------------------------------------------------------

还是没有。

IE
Chrome 火狐  --------------------编程问答-------------------- <rsweb:ReportViewer ID="ReportViewer1" runat="server" Font-Names="Verdana" CssClass="ReportFont"  Width="100%" Height="100%"
            ZoomMode="PageWidth" ShowBackButton="true"  SizeToReportContent="True" Font-Size="8pt" InteractiveDeviceInfos="(Collection)" 
            WaitMessageFont-Names="Verdana" WaitMessageFont-Size="14pt">
            <LocalReport ReportPath="rptPandID.rdlc"> --------------------编程问答--------------------
引用 4 楼 xulonghua1988219 的回复:
<rsweb:ReportViewer ID="ReportViewer1" runat="server" Font-Names="Verdana" CssClass="ReportFont"  Width="100%" Height="100%"
            ZoomMode="PageWidth" ShowBackButton="true"  SizeToReportContent="True" Font-Size="8pt" InteractiveDeviceInfos="(Collection)" 
            WaitMessageFont-Names="Verdana" WaitMessageFont-Size="14pt">
            <LocalReport ReportPath="rptPandID.rdlc">

火狐我没尝试,但是google Chrome是可以的 --------------------编程问答-------------------- http://blog.csdn.net/even0220/article/details/8630192 --------------------编程问答-------------------- 还是不成功。 --------------------编程问答--------------------
引用 5 楼 Chinajiyong 的回复:
Quote: 引用 4 楼 xulonghua1988219 的回复:

<rsweb:ReportViewer ID="ReportViewer1" runat="server" Font-Names="Verdana" CssClass="ReportFont"  Width="100%" Height="100%"
            ZoomMode="PageWidth" ShowBackButton="true"  SizeToReportContent="True" Font-Size="8pt" InteractiveDeviceInfos="(Collection)" 
            WaitMessageFont-Names="Verdana" WaitMessageFont-Size="14pt">
            <LocalReport ReportPath="rptPandID.rdlc">

火狐我没尝试,但是google Chrome是可以的

能发一个你成功的例子给我看看吗?  谢谢。  13013600069@163.com --------------------编程问答--------------------
引用 8 楼 xulonghua1988219 的回复:
Quote: 引用 5 楼 Chinajiyong 的回复:

Quote: 引用 4 楼 xulonghua1988219 的回复:

<rsweb:ReportViewer ID="ReportViewer1" runat="server" Font-Names="Verdana" CssClass="ReportFont"  Width="100%" Height="100%"
            ZoomMode="PageWidth" ShowBackButton="true"  SizeToReportContent="True" Font-Size="8pt" InteractiveDeviceInfos="(Collection)" 
            WaitMessageFont-Names="Verdana" WaitMessageFont-Size="14pt">
            <LocalReport ReportPath="rptPandID.rdlc">

火狐我没尝试,但是google Chrome是可以的

能发一个你成功的例子给我看看吗?  谢谢。  13013600069@163.com

按照你给的链接做就行了 --------------------编程问答-------------------- 我试过了。
http://www.visualwebgui.com/Developers/Forums/tabid/364/forumid/56/postid/47090/scope/posts/Default.aspx
http://www.visualwebgui.com/Developers/Forums/tabid/364/forumid/56/postid/47090/scope/posts/Default.aspx
为什么有人说不可以实现? --------------------编程问答--------------------
引用 10 楼 xulonghua1988219 的回复:
我试过了。
http://www.visualwebgui.com/Developers/Forums/tabid/364/forumid/56/postid/47090/scope/posts/Default.aspx
http://www.visualwebgui.com/Developers/Forums/tabid/364/forumid/56/postid/47090/scope/posts/Default.aspx
为什么有人说不可以实现?

你试过了不行吗??
你的自己尝试一下 --------------------编程问答--------------------
引用 11 楼 Chinajiyong 的回复:


试过了,不可以。
只有这个链接的方法可以在chrome中显示打印按钮,但是在IE中没有。
http://stackoverflow.com/questions/9276424/reportviewer-print-button-in-google-chrome --------------------编程问答--------------------
引用 12 楼 xulonghua1988219 的回复:
Quote: 引用 11 楼 Chinajiyong 的回复:


试过了,不可以。
只有这个链接的方法可以在chrome中显示打印按钮,但是在IE中没有。
http://stackoverflow.com/questions/9276424/reportviewer-print-button-in-google-chrome

RDLC应该在IE下能够支持啊,毕竟是微软的 --------------------编程问答--------------------
引用 13 楼 Chinajiyong 的回复:

http://cafalse.com/download.aspx
的运行结果。
IE

Chrome --------------------编程问答-------------------- http://stackoverflow.com/questions/7385923/the-print-button-doesnt-appear-in-firefox

"This is because the print button is an Active-X control and Active-X controls work only with Internet explorer

For the rest of browsers export to pdf or excel and print from the application

In case the entire report renders in one page, you can use the browser print button to print the report"



会不会真的如这个人说的,没法实现打印按钮。只有先导出成PDF在打印?
--------------------编程问答--------------------
引用 12 楼 xulonghua1988219 的回复:

大侠 你传一个你运行成功的 给我研究研究呢 --------------------编程问答-------------------- FIREFOX 不行, IE 肯定可以,这个不用说,CHROME可能可以。
补充:.NET技术 ,  图表区
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,