Unexpected scrollbar in Reporting Services

旧时模样 提交于 2019-12-12 00:28:34

问题


I try to display reporting service report in iframe, and i have a interesting issue. Sometimes, but not always, there is some extra horizontal scrollbar. Solution have to work only in IE 9, 10, 11. I could not find any rule, why it happens.
Problem dissapears, when i hide header of report using rc:Toolbar=false. It occurs only in iframe.

Reporting Services 2008 R2


回答1:


There is a very simple solution. Issue occurs because parent document has html doctype and it is rendered by current IE engine. Default Reporting Services template has line like:

<meta http-equiv="X-UA-Compatible" content="IE=5">

I found information, that IE cannot render document inside iframe using different engine.

I deleted this line and changed doctype to "html". Problem disappeared



来源:https://stackoverflow.com/questions/20742793/unexpected-scrollbar-in-reporting-services

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