在Internet Explorer 11上看不到ReportViewer滚动条

时间:2019-04-15 18:44:08

标签: reporting-services

滚动条在chrome中可见,但在Internet Explorer 11中不可见

我尝试调试和检查元素以在DOM中找到滚动条的确切位置。没有运气

1 个答案:

答案 0 :(得分:0)

在此链接上找到了建议:-

https://social.msdn.microsoft.com/Forums/sqlserver/en-US/5e03c026-7359-4c0a-8c12-97dac9a2eb9c/reportviewer-2012-scroll-bars?forum=sqlreportingservices

在链接的最底部,这个叫-Palanichamy的家伙建议在css文件中放置以下代码。

#VisibleReportContentctl32_ctl09{
     position : absolute;
     _:-ms-fullscreen, :root;
}

在同一链接上的另一个人建议该文件的确切位置: 到我的报表服务器上的以下文件:

C:\ Program Files \ Microsoft SQL Server \ MSRS11.MSSQLSERVER \ Reporting Services \ ReportManager \ Styles \ ReportServices.css

但是我还是没有运气。因此,我最后要做的就是将代码复制到要运行其name.aspx文件的任何报告中,并在标题标签中创建一个新的样式标签,然后通过检查代码找出元素的正确ID。

<head runat="server">
<title></title>

<style type="text/css">
    #VisibleReportContentrvAdHocReport_ctl09 {
        position : absolute;
        _:-ms-fullscreen, :root;
    }

</style>