Reporting Services中出现意外的滚动条

时间:2013-12-23 11:41:07

标签: html iframe reporting-services sharepoint-2013

我尝试在iframe中显示reporting service报告,我有一个有趣的问题。有时,但并非总是如此,还有一些额外的水平滚动条。解决方案只能在IE 9, 10, 11中使用。我找不到任何规则,为什么会这样。
问题消失,当我使用rc隐藏报告标题时:Toolbar = false。它仅在iframe中出现。

Reporting Services 2008 R2

enter image description here

1 个答案:

答案 0 :(得分:0)

有一个非常简单的解决方案。 出现问题是因为父文档具有html doctype并且由当前IE引擎呈现。默认Reporting Services模板具有以下行:

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

我发现信息,IE无法使用不同的引擎在iframe中呈现文档。

我删除了这一行并将doctype更改为“html”。问题消失了