Question:
We have a portal where doctype is compatible with xhtml 1.0. Then on the portal we have iframe content, where we implement various web applications. Some of these applications were written by us, some of them are third-party.
Now in this iframe we insert, among other things, Microsoft Reporting Service reports. The problem is that Reporting Service Reports requires QuirksMode to display "correctly." And the portal does not work in QuirksMode (this is fine, as far as I know, since we focus only on 9 and, possibly, on IE8). The portal also does not render well in IE7, and we will give up support for IE8 as soon as possible.
However, IE9 seems to inherit document mode from the parent page, so Reporting service reports are displayed in IE9 standards mode instead of quirks mode. Thus, all reports are displayed incorrectly (and I do not mean a little, it is very difficult, completely wrong, absolutely terrible)
The problem is that we cannot change the reporting service ...
There is no way to force the reporting service (any version) to display non-quirksmode HTML.
<y> By Will the iframe render in quirks mode? i could add
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7"> <meta http-equiv="X-UA-Compatible" content="IE=8" />
To get an iframe to render in QuirksMode. (edit: doesn't even work when I don't care how the portal renders and places it anyway)
Unfortunately, the portal, as said, is not compatible with IE7, so this is not an option.
In addition, SSRS reports work in a different domain than the portal, so I cannot use JavaScript / jQuery anyway.
Is there a way to render the iframe in QuirksMode without destroying the layout of the parent page?
Or a (already existing) way to make the reporting service render valid HTML (I certainly don’t have the time to write a custom HTML extension)?
html doctype iframe reporting-services quirks-mode
Stefan steiger
source share