asp.net中的“报表查看器"打印按钮 [英] report viewer print button in asp.net

查看:81
本文介绍了asp.net中的“报表查看器"打印按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果使用IE使用Microsoft.ReportViewer.WebForms在.aspx页中查看.rdl报告,则启用打印"按钮.如果在非IE浏览器中打开了相同的报告(例如firefox/Chrome),则此处的打印按钮被禁用.

任何对此的帮助将是可贵的.

在此先感谢

If IE is used to view .rdl report in .aspx page using Microsoft.ReportViewer.WebForms, then Print button is enabled. If the same report is opened in Non IE Browser like firefox/Chrome, here print button is disabled.

Any Help on this would be appreciatable.

Thanks in Advance

推荐答案

检查
Check Report Viewer Print Problem in Chrome, Mozilla Browsers[^].
It may help.




请点击以下链接.可能对您有帮助,

使用javascript检测IE [
Hi,

Please follow below links. that may help you,

Detecting IE using javascript[^]

And to show/hide button below javascript may help you,
document.getElementById('buttonid').style.visibility='hidden'; // hide  
document.getElementById('buttonid').style.visibility='visible'; // show 


因此,请检测浏览器,如果不是IE,请隐藏该按钮.

希望对您有帮助.
谢谢.


So detect the browser and if it is not IE then hide the button.

Hope it helps you.
Thanks.


这篇关于asp.net中的“报表查看器"打印按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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