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

Report width in Report viewer vs print layout

1 Answer 639 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Raja
Top achievements
Rank 1
Raja asked on 02 Oct 2014, 05:05 PM
Hi,

I am using HTML 5 report viewer in my web site which has a fixed width of 1024px. I want my reports to occupy full width of the report viewer and fits on to an A4 sheet when printing.

 I have adjusted the columns to fit an A4 sheet but this makes the report to only take half of the report viewer width. How can manage both layouts?

1 Answer, 1 is accepted

Sort by
0
Stef
Telerik team
answered on 07 Oct 2014, 12:19 PM
Hello Raja,

Please refer to my post in the following forum thread: scaling html5 report horizontally only. More information about the scale modes for the HTML5 Report Viewer is available in the IReportViewerBuilder.ScaleMode Method article.

About fitting a report in a single page, this feature is not supported. You can use the report's PageSettings to adjust the document physical page's size. Other approach relying on Adobe PDF reader is described in the Dynamic Report column size forum thread.


I hope the above information is helpful.

Regards,
Stef
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
General Discussions
Asked by
Raja
Top achievements
Rank 1
Answers by
Stef
Telerik team
Share this question
or