我开发了一些我在asp.net/vb.net项目中使用的rdlc文件。报告加载很好,但是当我点击工具栏中的“导出”时,它会显示在数据后面
我想我可以使用Z indexes
,但是没有明确地看到工具栏的任何方法。有关如何修复的任何想法?下面是我在aspx页面中的代码
<asp:ReportViewer ID="ReportViewer1" runat="server" Font-Names="Verdana"
Font-Size="8pt" InteractiveDeviceInfos="(Collection)"
WaitMessageFont-Names="Verdana" WaitMessageFont-Size="14pt" Width="100%" AsyncRendering="true" SizeToReportContent="true">
<LocalReport ReportPath="Report\myReport.rdlc" EnableHyperlinks="true">
<DataSources>
<asp:ReportDataSource DataSourceId="SqlDataSource1" Name="DataSet1"/>
</DataSources>
</LocalReport>
</asp:ReportViewer>
答案 0 :(得分:0)
如果有人在以后遇到此问题,我将以下jquery添加到我的.aspx文件中并且它有效。
<script type="text/javascript">
$(document).ready(function () {
$('#ctl00_appPages_ReportViewer1_ctl06_ctl04_ctl00_Menu').css('z-index', 99);
});
</script>