Overlapping tables in reportviewer

不羁岁月 提交于 2019-12-24 00:56:13

问题


I have a reportviewer control to which I feed a SSRS report. The report that gets generated is fairly large to fit in single view. So when we see that report in reportviewer on Firefox 11+ or chrome 15+ the tables rendered are overlapped but it runs perfectly well in IE.

Is there any generic solution for these. Refer Image:


回答1:


I have some bad news for you, I'm afraid. Browser support outside IE in version 9.0.0.0 (the 2008 version) is... terrible. As Microsoft states on the corresponding MSDN page.

Internet Explorer is recommended if you want to use all of the available functionality. Although you can use other browsers to view a report, Internet Explorer is the only browser that is guaranteed to support the complete set of features used for working with reports.

With version 10.0.0.0 things improved. In our experience, they improved a lot. This MS blog post from 2009 also mentions this:

Significantly improved browser compatibility. We’ve put a huge amount of effort into improving our support across browsers. We’ve seen plenty of reports of extra scrollbars or other problematic renderings in Firefox, Safari, and standards mode in general. The initial feedback on these changes has been very positive.

The corresponding MSDN page on ReportViewer 10.0 is also quite a bit less "pushy" about users having to resort to IE. There's still a few things that are IE-specific (printing and zooming, for example).

We've experienced the same issues, such as overlapping tables... and then some. Trying to override the styles that were causing this turned out hard, if not impossible. However, just about all of those issues with layouting were gone after we upgraded to 10.0.0.0.

So, I started my answer with "I have some bad news", so here it is: AFAIK you can't reasonably solve these issues without upgrading to the newer Report Viewer.



来源:https://stackoverflow.com/questions/11136949/overlapping-tables-in-reportviewer

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!