Quantcast
Channel: SQL Server Reporting Services
Viewing all articles
Browse latest Browse all 1418

Adjust width of report when viewed on web page

$
0
0

Hi,

I am using report viewer to view reports on the web page. There is a lot of space to the right of the report. I changed the width and height of the report to 100%

<rsweb:ReportViewer ID="mainReportViewer" SizeToReportContent="False" Width="100%" Height="100%" runat="server" OnPreRender="mainReportViewer_PreRender" ></rsweb:ReportViewer>

It now looks like this:

If I adjust the report width, then the column widths in report builder (VS 2012) it cuts things off when displaying in PDF. For example, I expanded the width of the report to the right, then moved the "page 1 of 1" text box over to the edge, there is still a lot of space when viewing it on the web page. But it's cut off when viewing it as a PDF. Is there a way to expand the width of the report in report viewer without affecting the underlying report?


Viewing all articles
Browse latest Browse all 1418

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>