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

Telerik Reporting 24" inch screen fit automatically

1 Answer 85 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Johnson
Top achievements
Rank 1
Johnson asked on 21 Sep 2018, 01:10 PM

Hi Team,

How to adjust Telerik reporting width automatically fit in 24" inch screen ?

I had go through this link but it was WPF Report https://www.telerik.com/forums/start-report-with-zoom-to-width-as-default.

 

Please help on this.

1 Answer, 1 is accepted

Sort by
0
Ivan Hristov
Telerik team
answered on 26 Sep 2018, 09:13 AM
Hi Johnson,

The layout of the report in a report viewer depends on its ScaleMode or ZoomMode property, depending on used viewer.

For HTML5-bases report viewers the scale mode is set through the scaleMode property in the initialization script, as explained in the Report Viewer Initialization article.
To configure the HTML5 report viewer to start in PAGE_WIDTH mode, the initialization of the viewer should have this line:
$("#reportViewer1")
                .telerik_ReportViewer({
... other initialization parameters
                   scaleMode: telerikReportViewer.ScaleModes.FIT_PAGE_WIDTH
});

In WinForms and WPF applications the report viewer can have its ZoomMode property set directly in the PropertyGrid or via code like this:
this.reportViewer1.ZoomMode = ReportViewer.WinForms.ZoomMode.FullPage; //for WinForms viewer
this.ReportViewer1.ZoomMode = Telerik.ReportViewer.Wpf.ZoomMode.PageWidth; //for WPF viewer.

Hope this helps.

Regards,
Ivan Hristov
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
General Discussions
Asked by
Johnson
Top achievements
Rank 1
Answers by
Ivan Hristov
Telerik team
Share this question
or