Asked by:
Need help: SSRS Report in Frameset not displaying the page completely in IE11 browser

Question
-
User975977963 posted
Hi all,
I have ASP.net page that is displaying the SSRS reports in frame. The reports used to display the content properly with IE10, 9,8 and 7.. except for IE11; the SSRS reports does not display the report completely, just the half of the content and there is a horizontal scroll bar below the report to view the page.
Default code page:
<%@ page language="C#" autoeventwireup="true" inherits="Default, App_Web_vy32vwl1" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title>HR Services</title> </head> <frameset rows="55,*" frameborder="0" border="0" framespacing="0"> <frame src="Menu.aspx" name="menu" noresize="0" scrolling="no"> <frame src="Main.aspx" name="main" noresize="0" scrolling="no"> </frameset> <body> </body> </html>
Main.aspx code:
<%@ page language="C#" autoeventwireup="true" inherits="Main, App_Web_vy32vwl1" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <script type="text/javascript"> function redirect(){ window.location = "http://sqlserver/ReportServer/Pages/ReportViewer.aspx?%2f1.+HR+Reports%2f01.+My+Profile&rs:Command=Render"; } </script> <title>HR Services</title> </head> <body onload="redirect();"> <form id="form1" runat="server"> <div> </div> </form> </body> </html>
Menu. aspx code:
<%@ page language="C#" autoeventwireup="true" inherits="Menu, App_Web_vy32vwl1" %> <%@ Register src="controls/Header.ascx" tagname="Header" tagprefix="uc1" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head id="Head1" runat="server"> <title>HR Services</title> <link href="Style.css" rel="stylesheet" type="text/css" /> </head> <body> <form id="form1" runat="server"> <uc1:Header ID="Header1" runat="server" /> </form> </body> </html>
The controls/header.ascx page:
<%@ Control Language="C#" ClassName="Header" %> <script runat="server"> </script> <asp:Panel id="menuPanel" runat="server" CssClass="menuPanel"> <a href="http://sqlserver/ReportServer/Pages/ReportViewer.aspx?%2f1.+HR+Reports%2f01.+My+Profile&rs:Command=Render" target="main" style="color: #FFFFFF">Personal</a> | <a href="http://sqlserver/ReportServer/Pages/ReportViewer.aspx?%2f1.+HR+Reports%2f02.+My+Dependents&rs:Command=Render" target="main" style="color: #FFFFFF">Dependents</a> | <a href="http://sqlserver/ReportServer/Pages/ReportViewer.aspx?%2f1.+HR+Reports%2f03.+My+Annual+Leave&rs:Command=Render" target="main" style="color: #FFFFFF">Annual Leave</a> | <a href="http://sqlserver/ReportServer/Pages/ReportViewer.aspx?%2f1.+HR+Reports%2f04.+My+Other+Leaves&rs:Command=Render" target="main" style="color: #FFFFFF">Leaves</a> | <a href="http://sqlserver/ReportServer/Pages/ReportViewer.aspx?%2f1.+HR+Reports%2f05.+My+Loans&rs:Command=Render" target="main" style="color: #FFFFFF">Loans</a> | <a href="http://sqlserver/ReportServer/Pages/ReportViewer.aspx?%2f1.+HR+Reports%2f06.+My+Expense+Claims&rs:Command=Render" target="main" style="color: #FFFFFF">Expense Claims</a> | <a href="http://sqlserver/ReportServer/Pages/ReportViewer.aspx?%2f1.+HR+Reports%2f07.+My+Salaries&rs:Command=Render" target="main" style="color: #FFFFFF">Salaries</a> | <a href="http://sqlserver/ReportServer/Pages/ReportViewer.aspx?%2f1.+HR+Reports%2f08.+My+Pension+Plan&rs:Command=Render" target="main" style="color: #FFFFFF">Pension</a> | <a href="http://sqlserver/ReportServer/Pages/ReportViewer.aspx?%2f1.+HR+Reports%2f09.+My+Bonus&rs:Command=Render" target="main" style="color: #FFFFFF">Bonus</a> | <a href="http://sqlserver/ReportServer/Pages/ReportViewer.aspx?%2f1.+HR+Reports%2f11.+My+Monthly+Attendance&rs:Command=Render" target="main" style="color: #FFFFFF">Monthly Attendance</a> | <a href="http://sqlserver/ReportServer/Pages/ReportViewer.aspx?%2f1.+HR+Reports%2f10.+My+Weekly+Attendance&rs:Command=Render" target="main" style="color: #FFFFFF">Weekly Attendance</a> | <a href="http://sqlserver/ReportServer/Pages/ReportViewer.aspx?%2f1.+HR+Reports%2f13.+Staff+Attendance&rs:Command=Render" target="main" style="color: #FFFFFF">Staff Attendance</a> | <a href="http://sqlserver/ReportServer/Pages/ReportViewer.aspx?%2f1.+HR+Reports%2f14.+Staff+Calendar&rs:Command=Render" target="main" style="color: #FFFFFF">Staff Calendar</a> | <a href="http://vgicintweb/personalcalls/" target="_blank" style="color: #FFFFFF">Personal Calls</a> | <a href="http://sqlserver/ReportServer/Pages/ReportViewer.aspx?%2f1.+HR+Reports%2f12.+My+Desktop+Applications&rs:Command=Render" target="main" style="color: #FFFFFF">Applications</a></asp:Panel>
I appreciate any help.
Thanks in advance.
Saturday, October 11, 2014 4:00 AM
All replies
-
User-734925760 posted
Hi,
According to your description, it will be the IE compatibility issue. So please refer to the steps below to set:
- Open Internet Explorer, press the Alt key, click Tools on the menu bar, and then click Compatibility View settings.
- Add the report site, such as localhost, to the list of websites.
Hope it's useful for you.
Best Regards,
Michelle Ge
Monday, October 13, 2014 5:15 AM -
User975977963 posted
Thank you,
This is a good workaround but it does not render the SSRS page properly when viewing the report in the frameset.
For compatibility I had included the following in the ReportViewer.aspx file.
<meta http-equiv="X-UA-Compatible" content="IE=9" />
This will not solve the problem and I had tried content="Edge", and that did not work.
...
Tuesday, October 14, 2014 3:56 AM