VisualStudio Report Viewer does not display report body in Chrome

I know that Chrome is not supported - http://msdn.microsoft.com/en-us/library/ms156511.aspx for the report viewer.

The solution here did not work for me ReportViewer problem in google chrome , unfortunately

In our case, the report body is empty. I ran into solutions to report height problems and distortion problems on the toolbar, but in my case I still have to go through this step.

When I go to the report manager in Chrome, I can see my reports [they are not perfect, but at least show the body of the report]

http://localhost/Reports_SQLSERVER2008/Pages/Report.aspx? [clipped] 

I have 2 questions on this issue and I hope someone can shed light on them.

  • Why the report manager in the report manager displayed the report body in Chrome, while the VS 2010 report view control will not. [Lets me assume that the viewer can display in Chrome, so I can change it).
  • Is it possible to extend the report viewer to at least make the body in Chrome.

All other browsers are in order. This is an ASP.Net 4.0 web form application that uses the version of VS 2010 Report Viewer on SQL Server 2008 [migration to 2008 R2 in a short time].

I, too, am at a stage where it may be so that the efforts necessary to solve this problem cannot be justified. I expect other problems to occur, such as parameter selection, etc. I would like to hear your thoughts.

Thanks in advance,

Rgds,

Liam

+7
source share
3 answers

This is a fix that worked for us, but relates to our implementation.

We have a ReportViewer wrapped in a user control, and this custom report view control is used in two places in our Asp.Net application.

  • On the main page of reports
  • On the web page [Dashboard]. Each web part contains a custom Report Viewer control.

In the layout of the custom report viewer, we set the height of the report viewer to a large number in pixels. those. 1200 pixels. The body of the report is displayed in Chrome on the reports page and on our dashboard page.

Since the report page displays 1 report at a time, the height value is not a problem

In the control panel, we already reveal the personalization property of the web part containing the report path, which allows us to download everything that we need. We also open a new property for storing the report report as part of personalization, and this, in turn, sets the height of the report viewer as required by the user.

Liam

+11
source

I had the same problem: an empty body. Only the toolbar was visible. Using the tools of the browser developer, I was able to find out that if I placed a height of 1000 pixels on the div containing the report viewer, the content would become visible.

Then I found the SizeToReportContent property, which, if set to True, displays the content correctly.

This property is available in the ReportViewer control in Microsoft.ReportViewer.WebForms, Version = 10.0.0.0. I use local reports.

+6
source

The fix that worked for me was to install: asyncrendering = "False"

+1
source

All Articles