C# SSRS 2016报表查看器V13工具栏图标不显示
当我在寻找问题的解决方案时,我在microsoft论坛上看到了一个。用户也提出了同样的问题,我想引用这个问题: 报表查看器控件未正确呈现工具栏 我正在按照说明开始使用ReportViewer 2016年控制在 我能够从我的应用程序运行报告,但是 报告工具栏出现问题C# SSRS 2016报表查看器V13工具栏图标不显示,c#,asp.net,reporting-services,ssrs-2016,C#,Asp.net,Reporting Services,Ssrs 2016,当我在寻找问题的解决方案时,我在microsoft论坛上看到了一个。用户也提出了同样的问题,我想引用这个问题: 报表查看器控件未正确呈现工具栏 我正在按照说明开始使用ReportViewer 2016年控制在 我能够从我的应用程序运行报告,但是 报告工具栏出现问题 我没有看到工具栏图标,即使超链接处于活动状态 当我打开“导出”下拉列表时,背景是透明的,很难阅读 报表参数下拉列表显示为文本框,但当我单击它们时,它们的行为类似于下拉列表 附件是一个显示工具栏在my中呈现时的图像 应用程序: 您是否在
您是否在母版/子版页中使用控件?当前报表查看器控件RC存在已知问题-据我所知,这仍然是一个问题,Microsoft尚未发布更新以更正使用母版/子版页时丢失的图标 我让控件在一个普通的ASPX页面中工作,并查看了图标的显示方式,看起来每个控件实例都生成了一个内嵌样式的标记 作为一项临时工作,在微软发布修复程序之前,您可以使用下面的样式标记,我从内嵌css中提取了这个
<style>
@font-face {
font-family: "reportingservicesglyphs-regular";
src: url("/Reserved.ReportViewerWebControl.axd?OpType=Resource&Version=13.0.1700.305&Name=Microsoft.Reporting.WebForms.Fonts.ReportingServicesGlyphs.eot");
src: url("/Reserved.ReportViewerWebControl.axd?OpType=Resource&Version=13.0.1700.305&Name=Microsoft.Reporting.WebForms.Fonts.ReportingServicesGlyphs.eot?#iefix") format("embedded-opentype"),url("/Reserved.ReportViewerWebControl.axd?OpType=Resource&Version=13.0.1700.305&Name=Microsoft.Reporting.WebForms.Fonts.ReportingServicesGlyphs.woff") format("woff"),url("/Reserved.ReportViewerWebControl.axd?OpType=Resource&Version=13.0.1700.305&Name=Microsoft.Reporting.WebForms.Fonts.ReportingServicesGlyphs.ttf") format("truetype"),url("/Reserved.ReportViewerWebControl.axd?OpType=Resource&Version=13.0.1700.305&Name=Microsoft.Reporting.WebForms.Fonts.ReportingServicesGlyphssvg#PowerBIGlyphs-regular") format("svg");
font-weight: 400;
font-style: normal;
font-stretch: normal;
}
.glyphui {
position: relative;
top: 2px;
display: inline-block;
font-family: "reportingservicesglyphs-regular";
font-style: normal;
font-weight: normal;
line-height: 1;
font-size: 14pt;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.glyphui-calendar:before {
content: "";
}
.glyphui-powerbi:before {
content: "";
}
.glyphui-refresh:before {
content: "";
}
.glyphui-back:before {
content: "";
}
.glyphui-firstpage:before {
content: "";
}
.glyphui-lastpage:before {
content: "";
}
.glyphui-previouspage:before {
content: "";
}
.glyphui-nextpage:before {
content: "";
}
.glyphui-downarrow:before {
content: "";
}
.glyphui-save:before {
content: "";
}
.glyphui-print:before {
content: "";
}
.MenuBarBkGnd div, .MenuBarBkGnd span, .DocMapBar {
color: #000000;
}
.ActiveLink:link {
color: #000000;
}
.ActiveLink:hover {
color: #000000;
}
.ActiveLink:visited {
color: #000000;
}
.ActiveLink:visited:hover {
color: #000000;
}
:focus {
outline-color: #F4F4F4;
}
span.glyphui {
color: #000000;
}
.aspNetDisabled.DisabledButton span.glyphui {
color: #7A7A7A;
}
.MenuBarBkGnd .HoverButton {
background-color: #F4F4F4;
}
.WaitControlBackground {
background-color: White;
border-color: #DDDDDD;
}
.WaitText {
font-size: 10pt;
font-family: "Segoe UI","Helvetica Neue", Helvetica, Arial, sans-serif;
color: #000000;
}
a, a:visited {
color: #000000;
}
.CancelLinkText {
font-size: 10pt;
font-family: "Segoe UI","Helvetica Neue", Helvetica, Arial, sans-serif;
}
.sk-circle .sk-child:before {
background-color: #000000;
}
.spinnie .dot:after {
background: #000000;
}
.ParametersFrame {
background-color: White;
border-color: #DDDDDD;
}
.ParametersFrame span.glyphui:hover {
color: #000000;
background-color: #F4F4F4;
}
.ParamEntryCell .glyphui.glyphui-downarrow {
font-size: 8pt;
}
.ToolBarButtonsCell {
border-color: #DDDDDD;
}
.ToolBarBackground {
background-color: White;
}
.ToolbarExport.WidgetSet, .ToolbarFind.WidgetSet, .ToolbarZoom.WidgetSet, .ToolbarPageNav.WidgetSet, .ToolbarRefresh.WidgetSet, .ToolbarPrint.WidgetSet, .ToolbarBack.WidgetSet, .ToolbarPowerBI.WidgetSet {
border-color: #DDDDDD;
}
.DisabledLink {
color: #7A7A7A;
}
.DisabledLink:hover {
color: #7A7A7A;
}
.DisabledTextBox {
background-color: #FFFFFF;
}
.NormalButton {
font-size: 10pt;
font-family: "Segoe UI","Helvetica Neue", Helvetica, Arial, sans-serif;
}
.DisabledButton {
font-size: 10pt;
font-family: "Segoe UI","Helvetica Neue", Helvetica, Arial, sans-serif;
}
.ToolbarExport .MenuBarBkGnd div {
background-color: White;
border-color: #DDDDDD;
}
.ToolbarExport .MenuBarBkGnd .HoverButton {
background-color: #F4F4F4;
}
.ToolbarExport .glyphui-downarrow {
font-size: 8pt;
}
.SplitterNormal, .SplitterHover {
background-color: #DDDDDD;
}
.DocMapFrame, .DocMapTitle {
border-color: #DDDDDD;
}
.documentMapHighlighting {
background-color: #F4F4F4;
color: #000000;
}
.DocMapContentCell a {
color: #000000;
}
.searchHighlighting {
background-color: #FFC20D;
}
.msrs-printdialog-main {
font-family: "Segoe UI","Helvetica Neue", Helvetica, Arial, sans-serif;
}
.msrs-printdialog-caption, .msrs-printdialog-list-pageorientation {
font-family: "Segoe UI","Helvetica Neue", Helvetica, Arial, sans-serif;
}
.msrs-printdialog-list-pagesize {
font-family: "Segoe UI","Helvetica Neue", Helvetica, Arial, sans-serif;
}
.msrs-printdialog-divbuttons {
font-family: "Segoe UI","Helvetica Neue", Helvetica, Arial, sans-serif;
background-color: #BB2124;
color: #FFFFFF;
}
.msrs-printdialog-divhighlightbutton:hover, .msrs-printdialog-divhighlightbutton:focus {
background-color: #D31115;
color: #FFFFFF;
}
.msrs-printdialog-divhighlightbutton {
background-color: #BB2124;
border-color: #BB2124;
color: #FFFFFF;
}
.msrs-printdialog-divnonhightlightbutton:hover, .msrs-printdialog-divnonhightlightbutton:focus {
background-color: #E6E6E6;
color: #000000;
}
.msrs-printdialog-divnonhightlightbutton {
background-color: #C8C8C8;
border-color: #C8C8C8;
color: #000000;
}
</style>
@字体{
字体系列:“ReportingServiceGlyphs常规”;
src:url(“/Reserved.ReportViewerWebControl.axd?OpType=Resource&Version=13.0.1700.305&Name=Microsoft.Reporting.WebForms.font.ReportingServicesGlyphs.eot”);
src:url(“/Reserved.ReportViewerWebControl.axd?OpType=Resource&Version=13.0.1700.305&Name=Microsoft.Reporting.WebForms.font.ReportingServicesGlyphs.eot?#iefix”)格式(“嵌入式opentype”),url(/Reserved.ReportViewerWebControl.axd?OpType=Resource&Version=13.0.1700.305&Name=Microsoft.Reporting.WebForms.font.ReportingServicesGlyphs.woff”)格式(“woff”)url(“/Reserved.ReportViewerWebControl.axd?OpType=Resource&Version=13.0.1700.305&Name=Microsoft.Reporting.WebForms.Fonts.ReportingServicesGlyphs.ttf”)格式(“truetype”),url(/Reserved.ReportViewerWebControl.axd?OpType=Resource&Version=13.0.1700.305&Name=Microsoft.Reporting.WebForms.Fonts.ReportingServicesGlyphsVG#PowerBIGlyphs常规PHS”)格式(“svg”);
字体大小:400;
字体风格:普通;
字体拉伸:正常;
}
glyphui先生{
位置:相对位置;
顶部:2个;
显示:内联块;
字体系列:“ReportingServiceGlyphs常规”;
字体风格:普通;
字体大小:正常;
线高:1;
字号:14pt;
-webkit字体平滑:抗锯齿;
-moz osx字体平滑:灰度;
}
.glyphui日历:在{
内容:“";
}
.glyphui powerbi:之前{
内容:“";
}
.glyphui刷新:之前{
内容:“";
}
.glyphui back:之前{
内容:“";
}
.glyphui首页:之前{
内容:“";
}
.glyphui最后一页:之前{
内容:“";
}
.glyphui上一页:之前{
内容:“";
}
.glyphui下一页:之前{
内容:“";
}
.glyphui向下箭头:之前{
内容:“";
}
.glyphui保存:在{
内容:“";
}
.glyphui打印:之前{
内容:“";
}
.MenuBarBkGnd div、.MenuBarBkGnd span、.DocMapBar{
颜色:#000000;
}
.ActiveLink:link{
颜色:#000000;
}
.ActiveLink:悬停{
颜色:#000000;
}
.ActiveLink:已访问{
颜色:#000000;
}
.ActiveLink:已访问:悬停{
颜色:#000000;
}
:焦点{
轮廓颜色:#F4;
}
span.glyphui{
颜色:#000000;
}
.aspNetDisabled.DisabledButton span.glyphui{
颜色:#7a7a;
}
.MenuBarBkGnd.HoverButton{
背景色:#F4;
}
.WaitControlBackground{
背景色:白色;
边框颜色:#DDDDDD;
}
.WaitText{
字号:10pt;
字体系列:“Segoe UI”,“Helvetica Neue”,Helvetica,Arial,无衬线;
颜色:#000000;
}
a、 a:参观了{
颜色:#000000;
}
.CancelinkText{
字号:10pt;
字体系列:“Segoe UI”,“Helvetica Neue”,Helvetica,Arial,无衬线;
}
sk圆圈。sk孩子:之前{
背景色:#000000;
}
斯宾尼.多特:以后{
背景:#000000;
}
.参数框架{
背景色:白色;
边框颜色:#DDDDDD;
}
.Parameters框架跨度.glyphui:悬停{
颜色:#000000;
背景色:#F4;
}
.ParamEntryCell.glyphui.glyphui-向下箭头{
字号:8pt;
}
.按钮单元格{
边框颜色:#DDDDDD;
}
.背景{
背景色:白色;
}
.ToolbarExport.WidgetSet、.ToolbarFind.WidgetSet、.ToolbarZoom.WidgetSet、.ToolbarPageNav.WidgetSet、.ToolbarRefresh.WidgetSet、.ToolbarPrint.WidgetSet、.ToolbarBack.WidgetSet、.ToolbarPowerBI.WidgetSet{
边框颜色:#DDDDDD;
}
.禁用链接{
颜色:#7a7a;
}
.禁用链接:悬停{
颜色:#7a7a;
}
.DisabledTextBox{
背景色:#FFFFFF;
}
.Normal按钮{
字号:10pt;
字体系列:“Segoe UI”,“Helvetica Neue”,Helvetica,Arial,无衬线;
}
.禁用按钮{
字号:10pt;
字体系列:“Segoe UI”,“Helvetica Neue”,Helvetica,Arial,无衬线;
}
.ToolbarExport.MenuBarBkGnd div{
背景色:白色;
边框颜色:#DDDDDD;
}
.ToolbarExport.MenuBarBkGnd.hover按钮{
背格
.glyphui-calendar:before {
content: "H";
}
.glyphui-powerbi:before {
content: "E";
}
.glyphui-refresh:before {
content: "F";
}
.glyphui-back:before {
content: "G";
}
.glyphui-firstpage:before {
content: "A";
}
.glyphui-lastpage:before {
content: "B";
}
.glyphui-previouspage:before {
content: "C";
}
.glyphui-nextpage:before {
content: "D";
}
.glyphui-downarrow:before {
content: "K";
}
.glyphui-save:before {
content: "J";
}
.glyphui-print:before {
content: "I";
}