报表查看器样式

发布于 2024-09-24 01:44:47 字数 180 浏览 1 评论 0原文

使用 ReportViewer 控件,是否可以在多个报表中应用预定义样式(来自 css)?

例如,我希望锚链接在不同页面上的不同报告中看起来相同。指定它们的 cssClass 属性似乎不起作用,因为查看生成的 html,内联样式(它是如此庞大,以至于我的心从内部流血了一点)正在覆盖样式表中的那些。

有什么想法吗?

With the ReportViewer control, is it possible to apply predefined style (from css) across multiple reports?

For example, I would like anchor links to look the same across different reports on different pages. Specifying their cssClass property doesn't seem to work because peeking into the generated html, the inline style (which is so bulky that my heart bled a little from the inside) is overriding those from style sheet.

Any ideas?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文