Telerik Reporting 24" inch screen fit automatically

2 posts, 0 answers
  1. Johnson
    Johnson avatar
    1 posts
    Member since:
    Mar 2017

    Posted 21 Sep 2018 Link to this post

    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.

  2. Ivan Hristov
    Admin
    Ivan Hristov avatar
    214 posts

    Posted 26 Sep 2018 Link to this post

    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
Back to Top