修复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( ...
随机推荐
- 在vCenter5.5中为用户创建角色,管理虚拟机
在vSphere的使用中,如有只有vCenter+ESXi节点的两级配置,为了达到多租户管理及权限分配,可以在vCenter5.5中为用户创建角色,管理虚拟机 1.以管理员身份登陆vCenter 2. ...
- 01-Swift 介绍
简介 Swift 语言由苹果公司在 2014 年推出,用来撰写 OS X 和 iOS 应用程序 2014 年,在 Apple WWDC 发布 几家欢喜,几家愁 愁者:只学Object-C的人 欢喜者: ...
- SVN系统的几个术语
SVN系统的几个术语 User:用户,可以远程连接到SVN服务器的权限实体. User Group:用户组,用于管理一组权限相同的用户. Repository:版本库,在服务器端保存着的项目中所有的文 ...
- 【C#】Excel做的数据表、SQLParameter代码生成工具
转载请注明出处http://www.cnblogs.com/Vulpers/ 做了一个小的代码生成工具,用于新建数据表时能够快速生成一些重复性很高的代码,目前仅支持SqlServer数据库及C#语言, ...
- java定时任务实现
在java中需要使用到定时任务是,可以通过quartz来实现.
- 如何解决pycharm输入中文报错问题
在pycharm中的python文件中输入中文会报错SyntaxError: 问题解决方法在文件开头添加 : # -*- coding:utf-8 -*- 每次添加都很麻烦,一劳永逸解决此问题的方法: ...
- 使用my exclipse对数据库进行操作(4)
四.删除 public class class4 { public static void main(String[] args) { // TODO Auto-generated method st ...
- Stack Overflow is a question and answer site
http://stackoverflow.com/ _ Stack Overflow is a question and answer site for professional and enthus ...
- c++:string函数
string类的构造函数:string(const char *s); //用c字符串s初始化string(int n,char c); //用n个字符c初始化此外,string类还支持 ...
- 远程登录linux不用输入密码的方法
原创文章,欢迎阅读,未经博主允许禁止转载. ssh免密登录,使用密钥认证.执行以下命令,一路回车,就生成了密钥认证.然后,ssh登录,scp等都不用密码了. $ ssh-keygen -t rsa $ ...