修复Telerik reporting 在网页中使用时的样式
在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 在网页中使用时的样式的更多相关文章
- 解决echart在IE中使用时,在div中加入postion后图表不显示问题
<!-- 为ECharts准备一个具备大小(宽高)的Dom --> <div id="main" style="height:400px;width:1 ...
- SQLite中使用时的数据类型注意
在使用SQLite时,要注意:在SQLite中的Integer类型,对应在C#中需要使用long类型或者Int64 在使用SQLite时,要注意:在SQLite中存放的日期类型必须是如此:yyyy-M ...
- window.location.href 放置在单独的JS文件中使用时问题
场景:假设当前浏览器地址栏的地址是:http://localhost:8888/SSHBoot/tourist/homeMainAction_signInUI.do, 现在我想在点击按钮时定位到“ht ...
- ServiceStack.RabbitMQ在站点中使用时导致静态页面无法正常解析
当站点中集成ServiceStack.RabbitMQ时快速处理异步请求时,官方建议初始化如下: public class AppHost : AppHostHttpListenerBase { pu ...
- Python中 "+=" 使用时的注意事项
代码1: >>> l1=range(3) >>> l2=l1 >>> l2+=[4] >>> l1 [0, 1, 2, 4] & ...
- WebPack系列:Webpack编译的代码如何在tomcat中使用时静态资源路径不对的问题如何解决
问题: 使用webpack+vue做前端,使用tomcat提供api,然后npm run build之后需要将编译,生成如下文件: | index.html \---appserver ...
- MUI在项目中使用时遇到的问题的个人分享
picker 添加年插件问题总结 1. 取消按钮点击事件无法获取 可以获取到取消按钮标签和确定按钮标签 但是只能获取去顶按钮事件,取消点击事件无法获取 通过判断picker的display状态也不能确 ...
- libreoffice.在Centos中使用时碰到X11 error的解决办法
先安装 libreoffice yum install libreoffice -y 尝试DOC转PDF是碰到报错 解决办法, 要安装多一个东西 yum install libreoffice-hea ...
- jsp标签在JavaScript中使用时,可能会出现的一个问题。
直接上代码 <script type="text/javascript"> var E = window.wangEditor; var editor = new E( ...
随机推荐
- MMS搜索功能修改
高通平台的MMS源码中提供了搜索功能,但要先选择分类(名字,号码,信息内容,彩信主题),再输入字符,根据分类进行搜索. 而在Contacts中却不需要分类,直接根据输入字符搜索任意匹配字段.相比之下, ...
- JAVA编程心得-Eclipse/MyEclipse 中文乱码解决办法
将别人的项目或JAVA文件导入到自己的Eclipse中时,常常会出现JAVA文件的中文注释变成乱码的情况,主要原因就是别人的IDE编码格式和自己的Eclipse编码格式不同.总结网上的建议和自己的体会 ...
- android download manager
下载管理器,有个哥们写得很好了http://www.trinea.cn/android/android-downloadmanager/ 下载后台通知 下载管理器内容交互 最近对内部业务逻辑整理了一下 ...
- SpringMVC 的RequestMapping
Spring MVC之@RequestMapping 详解 2013-10-13 23:39 150698人阅读 评论(6) 收藏 举报 分类: Java 精华文章(161) 目录(?)[+] ...
- 我为什么要拒绝Ctrl+C和Ctrl+V?
工作中避免不了会去参考别人的思路和实现(代码),因此浏览博文和相关网站成了日常活动.在这一过程中,James看到很多博文都是满篇的代码,而没有相应的分析(文字描述或者流程图). 对于上述这种情况,Ja ...
- C语言题库的上机题
1.编写函数,实现从键盘上输入一个小写字母,将其转化为大写字母. #include<stdio.h> int zhuanhua(char s); void main(){ char s; ...
- Java:switch语句例子
1.输入一个名次,第1-4名,分别称为冠军.亚军.季军.殿军,5名及5名以上,称为其他名次. import java.util.Scanner; public class switch1 { publ ...
- jquery 传递事件的自定义数据
整理一下 1. <script type="text/javascript">$(document).ready(function(){ $("input& ...
- 高德地图API编译警告
版本: V2.1.1 警告内容: (null): warning: (i386) /Users/xiaominghan/Desktop/autonavi/MAMapKit_3D_r923_201310 ...
- C++ 中 int 转string, 以及10进制转2进制
感谢:http://blog.csdn.net/xiaofei2010/article/details/7434737 以及:http://www.cnblogs.com/nzbbody/p/3504 ...