【问题标题】:SSRS 2008r2 cutting off report descriptions in main display page in report managerSSRS 2008r2 在报表管理器的主显示页面中截断报表描述
【发布时间】:2011-12-22 10:13:55
【问题描述】:

我们从 2008 升级到 2008R2,报表和文件夹说明仅在报表管理器中显示大约 1 行数据。将鼠标悬停在报告上将显示完整说明。有没有办法在报表管理器中显示完整描述或恢复到 2008 年报表管理器的外观?

【问题讨论】:

  • 为了清楚起见,您的意思是您正在查看报告管理器 URL(通常为 myserver/Reports)?我假设您处于“详细信息”视图中?

标签: reporting-services ssrs-2008 sql-server-2008-r2


【解决方案1】:

我做了一些挖掘,看起来报告管理器网站实际上是一个功能齐全的 ASP.Net 网站,由 c:\Program Files\Microsoft SQL Server[你的 MSRS 实例]\Reporting Services\ReportManager 下的 DLL 运行.

不幸的是,大部分网页生成是由封闭的 DLL (\bin\ReportingServicesWebUserInterface.dll) 完成的,但样式表是开放的并且可以修改。您不能更改类名,您可以在 \Styles\ReportingServices.css 中编辑实际样式。

对于您的项目,样式类名称为“msrs-itemDescription”。我在改变风格方面取得了一些成功:

p.msrs-itemDescription  { white-space: nowrap; width: 250px; overflow: hidden; text-overflow: ellipsis; font-size:10pt; color:Gray; }

对此:

p.msrs-itemDescription  { white-space: normal; width: 250px; overflow: auto; font-size:10pt; color:Gray; }

【讨论】:

    【解决方案2】:

    删除隐藏

    { 空白:nowrap;宽度:250px;溢出:隐藏;文本溢出:省略号;字体大小:10pt;颜色:灰色; }

    将允许显示所有文本

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2015-09-08
      • 2018-06-10
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多