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

Telerik report viewer error - css Height

1 Answer 36 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Truong
Top achievements
Rank 1
Truong asked on 17 Sep 2018, 03:35 AM

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 !!!!.

1 Answer, 1 is accepted

Sort by
0
Silviya
Telerik team
answered on 19 Sep 2018, 09:30 AM
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
Tags
General Discussions
Asked by
Truong
Top achievements
Rank 1
Answers by
Silviya
Telerik team
Share this question
or