SSRS (SQL Server report Service) shows an incomplete solution under IE9, IE10

Source: Internet
Author: User
Tags browser cache

In the process of doing the project encountered SSRS and IE9, IE10 incompatible situation, specific performance for the report page in IE9 and IE10 only show One-third, left display, scroll bar below, right two-thirds is blank. After viewing the source code, it is found that there is only one <td> in the above <tr>, and colspan=3, the following report content area <tr> has three <td> but the first two are hidden. Originally wanted to adjust the table structure, remove the front hidden of the two <td>, and later found too much trouble not to say, but also changed the original Microsoft form content. On the Internet search solution, Microsoft said it is to let customers use compatibility mode, this problem does not exist under IE8, but SharePoint 2013 running under the IE10 IE8 mode and IE9 IE8 mode below will cause a lot of compatibility problems, decisively give up. Later in http://answers.microsoft.com/en-us/ie/forum/ie10-windows_7/ie-10-ssrs-report-viewer-issue-after-kb2888505/ 1E82A8B9-DEA6-4351-90D3-7F4F47C4FB2A Find a solution. Tidy up as follows:

1. Open the SSRS installation directory: c:\Program Files\Microsoft SQL Server\msr11. Mssqlserver\reporting services\reportserver\pages Find reportviewer.aspx below.

2. Back up one copy (copy to original), then open it with Notepad and add the following code before the last </scripte> tag of the file:

try {
Sys.WebForms.PageRequestManager.getInstance (). Add_endrequest (function () {
document.getElementById ("reportviewercontrol_fixedtable"). Style.tablelayout = ';
        });
} catch (e) {
//ignore Me alert ("error");
    }

3. Save the reportviewer.aspx.

4. Clear the client browser cache and reopen the report to display correctly.


Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.