修复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( ...
随机推荐
- 开发前准备 va2015安装
1.下载vs2015 2.进行安装(同时安装node.js.npm与Android SDK,会省很多时间) 安装的时候要选择自定义安装 如果先安装了Android SDK的话就不要勾选了,我就是勾选了 ...
- 编译运行java程序出现Exception in thread "main" java.lang.UnsupportedClassVersionError: M : Unsupported major.minor version 51.0
用javac编译了一个M.java文件, 然后用java M执行,可是出现了下面这个错误. Exception in thread "main" java.lang.Unsuppo ...
- angular之自定义过滤器的使用
自定义过滤器需要使用filter函数,格式如下: filter("filterName',function(){ return function(target,args){ .... } } ...
- Win10专业版激活永久可查激活信息
Win10专业版激活永久步骤 ------在安装Win10专业版后,使用激活工具将系统激活到180天 这里附带在下屡试不爽的激活工具--百度云盘-- 链接:http://pan.baidu.com/s ...
- JavaScript (jquery) 数组去重的算法探讨
方法很巧妙 但是要事先知道对应的name或其他属性名称 主键值只适用于已知数据对象进行调用: var arr1 = [{ name: ' ...
- noip2008-t3
[题目描述] 小渊和小轩是好朋友也是同班同学,他们在一起总有谈不完的话题.一次素质拓展活动中,班上同学安排做成一个m行n 列的矩阵,而小渊和小轩被安排在矩阵对角线的两端,因此,他们就无法直接交谈了.幸 ...
- Java线程同步
package a.thread; public class A { private static int x = 0; public void run() { // 同步代码块 synchroniz ...
- PCB设计检查表
PCB设计检查表 一.确保PCB网表与原理图描述的网表一致 二.布局大致完成后需检查 外形尺寸 确认外形图是最新的 确认外形图已考虑了禁止布线区.传送边.挡条边.拼板等问题 确认PCB 模板是最新的 ...
- 黑马程序员-懒加载 lazy loading
懒加载:延迟加载,当程序启动时不加载资源,当程序需要这些资源时再去加载.需要的时候再加载的一种方式,能够减少内存的占用,效率高.其本质是重写get方法. 背景:由于ios内存有限,如果我们一次性将所有 ...
- 【转】IE劫持原理 BHO
为什么"浏览器劫持"能够如此猖狂呢?放眼众多论坛的求助贴,我们不时可以看到诸如"我的IE被主页被改了,我用杀毒工具扫了一遍都没发现病毒,我把主页改回自己的地址,可是一重启 ...