This is a migrated thread and some comments may be shown as answers.

Set Subreport to Landscape

2 Answers 297 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Chris Ward
Top achievements
Rank 1
Chris Ward asked on 29 Mar 2012, 09:33 PM
Hello,

I would like to know if the following is possible.  I would like to have a report where the page orientation is portrait for most pages, but some are set to landscape. 

I have tried the following:
I have a main report with the PagSettings.Landscape property to false.  I also have a subreport that is in a section with page breaks to make it on it's own page. For the sub report I set the PagSettings.Landscape property to true. When I run the report in the WinForms report viewer it seems that the page orientation setting from the main report is used and the orientation on the sub report is ignored.  Is this true?  Is there any work around to get one page of a report to be landscape while the rest of the report is portrait?  FYI, I'm using the WinForms viewer for development but the final product will export the report directly to PDF.

Thanks,

Chris

2 Answers, 1 is accepted

Sort by
0
Elian
Telerik team
answered on 02 Apr 2012, 09:32 AM
Hello Chris,

All the pages of a single report have the same size and orientation. The sub-reports are considered part of the master-report and not a separate report, so they respect the dimensions of the master report.
The functionality you need can only be achieved with the usage of ReportBook - it preserves the page settings of each report even when exported to PDF. 

Kind regards,
Elian
the Telerik team
NEW in Q1'12: Telerik Report Designer (Beta) for ad-hoc report creation. Download as part of Telerik Reporting Q1 2012. For questions and feedback, use the new Telerik Report Designer Forum.
0
Marshall Long
Top achievements
Rank 1
answered on 03 Sep 2013, 05:55 PM
  1. a
  2. m
Tags
General Discussions
Asked by
Chris Ward
Top achievements
Rank 1
Answers by
Elian
Telerik team
Marshall Long
Top achievements
Rank 1
Share this question
or