SSRS reports clipped in IE9 but fine in IE8

孤街醉人 提交于 2019-12-07 03:44:29

Render the page using a meta tag seen hear

<html>
   <head>
   <!-- Mimic Internet Explorer 8 -->
      <title>My Web Page</title>
      <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" />
   </head>
   <body>
      <p>Content goes here.</p>
   </body>
</html>

IE Rendering Modes: http://blogs.msdn.com/b/askie/archive/2009/03/23/understanding-compatibility-modes-in-internet-explorer-8.aspx

I have no idea if this is possible, I've never tried it, but enclose IFrame in metatag to just have it render as IE8.

Edit:

try this in your IFrame:

<html>
       <head>
       <!-- Mimic Internet Explorer 8 -->
          <title>My Web Page</title>
          <meta http-equiv="X-UA-Compatible" content="IE=edge" />
       </head>
    <iframe>
            <!DOCTYPE html>
            <html lang="en">
            <head>
                <meta charset="utf-8">
                <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8">
                <meta name="viewport" content="width=device-width,initial-scale=1">
            </head>
            </html>
        </iframe>
</html>

There is an issue with this style for changing documents mode but I doubt that is what your doing

After a long search I have found the solution to show SSRS report in IE9 by the following tricks :

First I have rendered the IFrame in IE8 (http-equiv="X-UA-Compatible" content="IE=EmulateIE8") and as a result the whole page renders in IE8 which distorted some of my CSS 3.0 styles like rounded corner, box effects, shadows etc. To overcome this I have used http://css3pie.com/ and my problem solved...

Although css3Pie have some limitations but it works for me on this scenario.

Hope this will help someone.

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