问题描述
我尝试在iframe中显示报告服务
报告,并且我有一个有趣的问题。有时但并非总是有一些额外的水平滚动条。解决方案只能在 IE 9,10,11
中工作。我找不到任何规则,为什么会发生。
问题消失,当我使用rc隐藏报表标题时:Toolbar = false。它只出现在iframe中。
Reporting Services 2008 R2
有一个非常简单的解。
发生问题是因为父文档具有html doctype并且它由当前IE引擎呈现。 Default Reporting Services模板具有以下行:
< meta http-equiv =X-UA兼容content =IE = 5\" >
我发现信息,IE无法在使用不同引擎的iframe中渲染文档。
$ b
我删除了这一行,并将doctype改为html。问题消失了
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
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
这篇关于Reporting Services中的意外滚动条的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!