Last post Jan 16, 2017 08:04 PM by Ali P
Jan 14, 2017 08:13 PM|Ali P|LINK
Hi, I'm using VS2008 and SSRS 2008 R2 and server-side report, we run into an issue with the native Report Viewer seems to always display the report in portrait, but when printing it prints in the correct orientation of the report as it's designed. The problem
is that in the report viewer it shows a different number of pages than when it prints. For example if the report is designed in landscape, the report viewer will say the report has 4 pages (because it displays in portrait), but when printed the report is actually
9 pages (because it's landscape). Is there a way to set the report viewer to display the report in the orientation of the report as it's designed?
Jan 16, 2017 06:26 AM|Chris Zhao|LINK
When you print a report, you can specify the size of the paper to use. The size of the paper determines the number of pages in a report and which report data fits on each page. Paper size affects only reports that are rendered with hard page-break renders:
PDF, Image, and Print. Setting the paper size has no effect on other renderers.
You can also specify a custom size by typing numeric values in the Width and Height boxes.
Jan 16, 2017 08:04 PM|Ali P|LINK
Hi Thank you for reply,
I think i didn't clear my issue for you.
My problem is not with paper size, Paper size is A4 and its size is fine in both orientation. Problem is i designed all of my reportview in Landscape A4 and when end user change it to portrait almost 10cm of my report right side going to another page because
portrait have less width than landscape. My question is how can i shrink my table (inside report) when user select portrait.