hiii, I am workin on .Net, C sharp. In my ReportViewer, in the Export button, i only need pdf and want to disable MsExcel. i have made the changes to rsreportserver.config. Is there anything else i need to do in my aspx page or code behind...
iii,我正在研究.Net,C sharp。在我的ReportViewer中,在导出按钮中,我只需要pdf并且想要禁用MsExcel。我已经对rsreportserver.config进行了更改。我的aspx页面或代码后面还有什么我需要做的......
1 个解决方案
#1
0
What you want to do is not possible. You cannot hide individual export options. You can only hide the entire export option. However, all is not lost. You can create a button outside the report viewer and then handle the creation of the PDF in code-behind.
你想做什么是不可能的。您无法隐藏单个导出选项。您只能隐藏整个导出选项。但是,一切都不会丢失。您可以在报表查看器外部创建一个按钮,然后在代码隐藏中处理PDF的创建。
#1
0
What you want to do is not possible. You cannot hide individual export options. You can only hide the entire export option. However, all is not lost. You can create a button outside the report viewer and then handle the creation of the PDF in code-behind.
你想做什么是不可能的。您无法隐藏单个导出选项。您只能隐藏整个导出选项。但是,一切都不会丢失。您可以在报表查看器外部创建一个按钮,然后在代码隐藏中处理PDF的创建。