使用自定义样式表进行本地报告 [英] Using custom Stylesheets for Local Reports

查看:86
本文介绍了使用自定义样式表进行本地报告的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有一种方法可以将自定义样式表用于服务器报告:
http://msdn.microsoft.com/en-us/library/ms152835.aspx

是否可以使用自定义样式表来生成本地生成的报告?

具体来说,我需要改变"r11"。为ReportViewer生成的html中的css类。

There is a way to use custom Stylesheets for Server Reports:
http://msdn.microsoft.com/en-us/library/ms152835.aspx

Is ther a way to use custom Stylesheet for report generated locally?

Specifically, i need to alter the "r11" css class in the generated html for the ReportViewer.

推荐答案

您引用的自定义样式表不会影响报表内容,只影响报表查看器在服务器上。也就是说,它可以让您更改工具栏背景颜色之类的内容,但不会更改报表中表格或其他报表项目上使用的样式。 ReportViewer控件上存在各种属性,用于处理报表服务器样式表的等效项。目前无法在服务器或本地模式下应用样式表来报告内容。
The custom stylesheet you are referring to does not affect report contents, only the report viewer on the server.  That is, it will let you change things like the toolbar background color, but not the styles used on a table or other report item in the report.  Various properties exist on the ReportViewer control to handle the equivalent of the report server style sheet.  There is currently no way to apply a stylesheet to report content, either on the server or in local mode.


这篇关于使用自定义样式表进行本地报告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆