ReportViewer report height error in IE11 when Edge document mode

I have a report viewer on my asp.net page. I want the report viewer to be visible on the full page. I tried to specify the height (100%), but it does not work, I also specify AsyncRendering = "False"

I also tried SizeToReportContent = "true", but when I use this property to send a report, it sets the initial search parameters, has a random height and width. Is there any other way to solve this problem?

In particular, I want this to be fixed in IE11 with all document modes (Edge, etc.)

+4
source share
2 answers

try ZoomMode="FullPage"

0
source

You can configure the report viewer to the full page code indicated below:

Put this code in the header / * To render the full version of Report Viewer * /

    div#content { width: 100%; }
    div#content span div table { width: 100%; }
    div#content span div table tr { width: 100% !important; }
    div#content span div table tr:nth-child(2) { width: 100% !important; }
    div#content span div table td[id*='oReportCell'] table  { width: 100% !important; }

It works great in Chrome and Firefox.

0
source

All Articles