在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. OpenVPN 通过服务器上网

    在Windows环境中架设OpenVPN服务相对比较简单,网上这方面的教程也比较丰富,照葫芦画瓢即可.但是大部分教程都只讲了如何将client与Server通过VPN管道连接起来,使client可以正 ...

  2. CSS自适应布局(包括两边宽度固定中间宽度自适应与中间宽度固定两边宽度自适应)

    1.两边宽度固定,中间宽度自适应 (1)非CSS3布局,浮动定位都可以(以下用浮动) css样式: #left { float: left;width: 200px; background: lime ...

  3. checkbox标签已有checked=checked属性但是不显示勾选

    点击全选按钮,选中下面的列表,再次点击取消选择. 第一次的使用的方法是$("input[name=xxx]").attr('checked',true); 但是往往刷新页面第一次点 ...

  4. jackson2.5.0升级到2.7.0

    开发环境:spring-mvc4.1.7.jackson2.7.0 问题描述:项目中将原来的jackson2.5.0升级到2.7.0,导致服务调用出错. mvc相关的配置文件如下: <?xml ...

  5. HTML5 Web Worker的使用

    Web Workers 是 HTML5 提供的一个javascript多线程解决方案,我们可以将一些大计算量的代码交由web Worker运行而不冻结用户界面. 一:如何使用Worker Web Wo ...

  6. http状态码全解

    1**(信息类):表示接收到请求并且继续处理 100--客户必须继续发出请求 101--客户要求服务器根据请求转换HTTP协议版本 2**(响应成功):表示动作被成功接收.理解和接受 200--表明该 ...

  7. Merge在Sqlserver使用例子说明

    ---文章 MatchInt的方式 Create table SourceTable([ID] int,[Desc] varchar(50)); Create table TargetTable([I ...

  8. Xcode自定义Eclipse中常用的快捷键

    转载自http://joeyio.com/2013/07/22/xcode_key_binding_like_eclipse/ Xcode自定义Eclipse中常用的快捷键 22 July 2013 ...

  9. JS自执行匿名函数

    常见格式:(function() { /* code */ })(); 解释:包围函数(function(){})的第一对括号向脚本返回未命名的函数,随后一对空括号立即执行返回的未命名函数,括号内为匿 ...

  10. P1907飞扬的小鸟

    P1907飞扬的小鸟 描述 Flappy Bird 是一款风靡一时的休闲手机游戏.玩家需要不断控制点击手机屏幕的频率来调节小鸟的飞行高度,让小鸟顺利通过画面右方的管道缝隙.如果小鸟一不小心撞到了水管或 ...