Telerik report viewer error - css Height

2 posts, 0 answers
  1. Truong
    Truong avatar
    1 posts
    Member since:
    Sep 2018

    Posted 16 Sep 2018 Link to this post

    Hi Telerik,

    I using MVC Net (c#) and Report viewer to view report

    but when i change screen size of windows, i have issue

    Please refer attach file.

    Help me !!!!.

  2. Silviya
    Admin
    Silviya avatar
    422 posts

    Posted 19 Sep 2018 Link to this post

    Hi Truong,

    We managed to reproduce the issue locally only using a concrete resolution with a 1.5 pixel ratio and have a width between 1366 and 1024. Then the height of the sheet where the report should be rendered is reduced which comes from a certain CSS rule in telerikReportViewer.css.

    We would fix this in the next release, but meanwhile, the workaround is to go to telerikReportViewer.css file and manually comment/delete the following lines of code:
    /* ----------- iPad Pro ----------- */
    /* Portrait and Landscape */
    @media only screen
      and (min-device-width: 1024px)
      and (max-device-width: 1366px)
      and (-webkit-min-device-pixel-ratio: 1.5) {
        .sheet {
            height: 100% !important;
            overflow: scroll;
        }
    }

    To force a custom template with a custom CSS specify the templateUrl of the HTML5 Viewer widget option - Styling and Appearance.

    If this is not the case, open a support ticket and attach the problematic project for further investigation.

    Regards,
    Silviya
    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