博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
修复Telerik reporting 在网页中使用时的样式
阅读量:7060 次
发布时间:2019-06-28

本文共 3143 字,大约阅读时间需要 10 分钟。

在ASP.NET 网页或ASP MVC中嵌入Telerik Reporting时,报表出来的样式是有问题的,按扭的位置错位了。

在页面中引入以下CSS文件可以将报表样式修复从而回到正常的报表样式。

 

.TReport input, .TReport textarea {
margin: 0; padding: 0;}.TReport .PageNumberText {
font-size: 8pt; font-family: Verdana; padding-top: 1px; margin-left: 6px;}.TReport .InputButtonClass {
display: block; margin-top: 1px; padding-top: 0 !important;}.TReport .ImageButtonCell {
padding: 3px;}.TReport .ReportToolbar INPUT, .TReport .ReportToolbar SELECT, .TReport .ReportToolbar BUTTON {
font-size: 8pt; font-family: Verdana; border: 0px !important;}.TReport .ReportToolbar {
font-size: 8pt; font-family: Verdana; height: 28px; border: 1px solid #4f4f4f;}.TReport .ReportToolbarGroup {
margin-left: 8px; height: 26px; padding-bottom: 2px; padding-top: 2px;}.TReport .NormalButton, .TReport .DisabledButton {
background-color: transparent; margin: 1px 1px 1px 1px; border-collapse: separate !important;}.TReport .HoverPressedButton {
cursor: hand; background-color: #99bbe2; border: solid 1px #336699; border-collapse: separate !important;}.TReport .HoverButton {
cursor: hand; background-color: #ddeef7; border: solid 1px #336699; border-collapse: separate !important;}.TReport .PressedButton {
cursor: hand; background-color: #ddeef7; border: solid 1px #336699; border-collapse: separate !important;}.TReport .ActiveLink {
font-size: 8pt; font-family: Verdana;}.TReport .ActiveLink: link {
color: #3366CC; text-decoration: none;}.TReport .ActiveLink: hover {
color: #FF3300; text-decoration: underline;}.TReport .ActiveLink: visited {
color: #3366CC; text-decoration: none;}.TReport .ActiveLink: visited: hover {
color: #FF3300; text-decoration: underline;}.TReport .DisabledLink {
color: gray; text-decoration: none; cursor: default; font-size: 8pt; font-family: Verdana;}.TReport .WaitText {
font-family: Verdana; font-weight: normal; font-size: 14pt;}.TReport .ReportViewerSplitterBar {
background-repeat: repeat-y; border-left: solid 1px #a7bac5; border-right: solid 1px #2c628b;}.NormalButton .Enabled, .HoverButton .Enabled, .HoverPressedButton .Enabled, .PressedButton .Enabled { /* DO NOT MODIFY */display: inline;}.NormalButton .Disabled, .HoverButton .Disabled, .HoverPressedButton .Disabled, .PressedButton .Disabled { /* DO NOT MODIFY */display: none;}.DisabledButton .Enabled { /* DO NOT MODIFY */display: none;}.DisabledButton .Disabled { /* DO NOT MODIFY */display: inline;}.ReportAreaErrorControl {
width: 100%; height: 100%; text-align: center; background-color: White;}.ReportAreaErrorLabel {
font-size: 8pt; font-family: Verdana; color: Gray;}.DocumentMapNodeStyle {
font-family: "Verdana"; font-size: 8pt;}.DisabledTextInput {
background-color: inactiveCaptionText; font-size: 8pt; font-family: Verdana; text-align: left;}.ParameterEditor {
font-size: 8pt; font-family: Verdana; text-align: left;}

 

转载地址:http://ydyll.baihongyu.com/

你可能感兴趣的文章
iptables及使用layer7七层过滤
查看>>
为何公司宁愿高薪招新人 也不加薪留老员工?
查看>>
(译)一个 web 应用程序架构应该包括哪些元素?
查看>>
看《内心强大的密码》有感
查看>>
c#操作access数据库
查看>>
Gartner:2014年云计算服务将取代PC电脑
查看>>
许多实用的JS 正则表达式 (正数正则、IP正则、邮编正则等等)
查看>>
30分钟入门Java8之lambda表达式
查看>>
安装MySQLdb模块
查看>>
Zookeeper环境搭建
查看>>
Apache与Nginx的优缺点比较
查看>>
我的友情链接
查看>>
社群系统ThinkSNS+ 产品更新最新更新进展(11月第二周)
查看>>
我的友情链接
查看>>
跟着实例学习ZooKeeper的用法: 文章汇总
查看>>
用VMware克隆CentOS7后网卡静态配置
查看>>
input 测试工具2 mi 监听多个input
查看>>
Android 硬件加速问题
查看>>
Eclipse JEE中Server Options追踪
查看>>
关联规则Apriori算法
查看>>