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

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

.TReport input, .TReport textarea {
margin:;
padding:;
}
.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;
}

修复Telerik reporting 在网页中使用时的样式的更多相关文章

  1. 解决echart在IE中使用时,在div中加入postion后图表不显示问题

    <!-- 为ECharts准备一个具备大小(宽高)的Dom --> <div id="main" style="height:400px;width:1 ...

  2. SQLite中使用时的数据类型注意

    在使用SQLite时,要注意:在SQLite中的Integer类型,对应在C#中需要使用long类型或者Int64 在使用SQLite时,要注意:在SQLite中存放的日期类型必须是如此:yyyy-M ...

  3. window.location.href 放置在单独的JS文件中使用时问题

    场景:假设当前浏览器地址栏的地址是:http://localhost:8888/SSHBoot/tourist/homeMainAction_signInUI.do, 现在我想在点击按钮时定位到“ht ...

  4. ServiceStack.RabbitMQ在站点中使用时导致静态页面无法正常解析

    当站点中集成ServiceStack.RabbitMQ时快速处理异步请求时,官方建议初始化如下: public class AppHost : AppHostHttpListenerBase { pu ...

  5. Python中 "+=" 使用时的注意事项

    代码1: >>> l1=range(3) >>> l2=l1 >>> l2+=[4] >>> l1 [0, 1, 2, 4] & ...

  6. WebPack系列:Webpack编译的代码如何在tomcat中使用时静态资源路径不对的问题如何解决

    问题:     使用webpack+vue做前端,使用tomcat提供api,然后npm run build之后需要将编译,生成如下文件: |   index.html \---appserver   ...

  7. MUI在项目中使用时遇到的问题的个人分享

    picker 添加年插件问题总结 1. 取消按钮点击事件无法获取 可以获取到取消按钮标签和确定按钮标签 但是只能获取去顶按钮事件,取消点击事件无法获取 通过判断picker的display状态也不能确 ...

  8. libreoffice.在Centos中使用时碰到X11 error的解决办法

    先安装 libreoffice yum install libreoffice -y 尝试DOC转PDF是碰到报错 解决办法, 要安装多一个东西 yum install libreoffice-hea ...

  9. jsp标签在JavaScript中使用时,可能会出现的一个问题。

    直接上代码 <script type="text/javascript"> var E = window.wangEditor; var editor = new E( ...

随机推荐

  1. C# 获取屏幕的大小

    原文地址:http://www.cnblogs.com/zp89850/archive/2011/08/23/2151052.html C# 获取屏幕的大小 WinForm: int iActulaW ...

  2. WinForm应用只运行一次

    一.WinForm应用只能运行一次 static class Program { /// <summary> /// 应用程序的主入口点. /// </summary> [ST ...

  3. Oracle 11g 服务器安装图解

    平常Oracle都是安装到本地的,没有安装到服务器过,今天找了个帖子是安装到服务器的图解 http://jingyan.baidu.com/album/948f5924373c04d80ff5f9f5 ...

  4. 替换CENTOS自带的yum源为网易163镜像源

    首先确保你的系统是centos5或者centos6   先备份你系统自带的repo mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/Cent ...

  5. C语言编写的简单的电话本管理系统

    #include<stdio.h> #include <string.h> #include<stdlib.h> ; struct person {]; ]; ]; ...

  6. javascript code snippet -- Forwarding Mouse Events Through Layers

    Anyone who has worked with web apps has likely created a masking element at some point, and the grea ...

  7. kettle(6.0)如何连接远程集群(CDH5.1)?

    最近因为公司业务需要,刚刚接触了kettle.这不看不知道,一看才发现kettle的功能是在是太强大了,让我有种相见恨晚的感觉.由于主要是应用kettle与hadoop集群和hive连接进行数据处理. ...

  8. BeanUtils: 威力和代价(转载)

    转自:http://blog.sina.com.cn/s/blog_ab3fbf1b0101jbxz.html Apache Jakarta Commons项目非常有用.我曾在许多不同的项目上或直接或 ...

  9. 用eclipse搭建SSH(struts+spring+hibernate)框架

    声明: 本文是个人对ssh框架的学习.理解而编辑出来的,可能有不足之处,请大家谅解,但希望能帮助到大家,一起探讨,一起学习! Struts + Spring + Hibernate三者各自的特点都是什 ...

  10. Picard 法求方程根

    要点: 首先对于任何方程 :f(x)=0 ,可以转换成 f(x)+x-x => f(x)+x=x; 取g(x)=f(x)+x;  那么 新方程g(x)=x 的解即是 f(x)=0的解,即g(x) ...