0

Need some help printing RDLC report from my ASP.NET application. The report is loaded into Report Viewer control dynamically, then printed using javascript window.print(). The problem is the report is being printed with vertical scrollbar. Plus, the bottom part of the report is getting cut off. If I increase the height of the ReportViewer control, I end up with 2 blank pages before the actual report and one blank page after, and the bottom part is still getting cut off...
This is the html for Report Viewer page:

<body onload="printThisPage();">
     <form id="controlForm" name="reportForm" runat="server">
     <rsweb:ReportViewer Width="800px" Height="1200px" ID="ReportViewer1"  runat="server"  
        ShowCredentialPrompts="False" DocumentMapCollapsed="True" ShowDocumentMapButton="False" 
        ShowFindControls="False" ShowPageNavigationControls="False" 
        ShowParameterPrompts="False" ShowPromptAreaButton="False" 
        SizeToReportContent="True" ShowExportControls="False" 
        ShowPrintButton="True" ShowRefreshButton="False" ShowToolBar="False" 
        ShowZoomControl="False" BorderStyle="None" style="OVERFLOW: visible" 
        >
    </rsweb:ReportViewer>
    </form>

I've been fighting with this for days.. Help!!

4

1 回答 1

0

您可以使用打印按钮进入报表 RLDC。您应该启用“ShowToolBar”属性。

ShowToolBar="True" 
于 2013-01-25T12:12:23.157 回答