FineUI 官方论坛
标题:
下拉列表框被grid++报表挡住,Ext.useShims
[打印本页]
作者:
Mr.Wu
时间:
2012-9-20 02:30
标题:
下拉列表框被grid++报表挡住,Ext.useShims
请问一下,在ExtAspNet中,点击年级下拉框时,下拉列表被报表展现区域挡住了下拉列表框,怎么处理呢?
[attach]1105[/attach]
前台页面代码如下:
<body>
<form id="form1" runat="server">
<ext:PageManager ID="PageManager1" AutoSizePanelID="Region2" runat="server" />
<ext:Panel ID="Panel1" runat="server" BodyPadding="0px" EnableBackgroundColor="true"
ShowBorder="false" ShowHeader="false" Title="Panel" Layout="Container" >
<Toolbars>
<ext:Toolbar ID="toolbar1" runat="server" >
<Items>
<ext:Label ID="Label1" Text="过滤年级:" runat="server">
</ext:Label>
<ext:DropDownList ID="ddlnj" Width="120px" ShowLabel="false" runat="server" Label="Label" >
<ext:ListItem Text="全部" Value='-1' />
<ext:ListItem Text="高一" Value='1' />
<ext:ListItem Text="高二" Value='2' />
<ext:ListItem Text="高三" Value='3' />
</ext:DropDownList>
<ext:Button ID="btnQuery" Icon="Find" Text="查询" EnablePostBack="false"
runat="server">
</ext:Button>
<ext:ToolbarSeparator ID="toolbarsp1" runat="server">
</ext:ToolbarSeparator>
<ext:Button ID="btnPrintPreview" Icon="PrinterGo" Text="打印预览" EnablePostBack="false"
runat="server">
</ext:Button>
<ext:ToolbarSeparator ID="ToolbarSeparator1" runat="server">
</ext:ToolbarSeparator>
<ext:Button ID="btnPrint" Icon="Printer" Text="打印" EnablePostBack="false"
runat="server">
</ext:Button>
</Items>
</ext:Toolbar>
</Toolbars>
<Items>
<ext:ContentPanel ID="contentpanel1" runat="server" ShowBorder="False" ShowHeader="False" BoxConfigPosition="End">
<script type="text/javascript">
CreatePrintViewerEx("100%", "100%", "", "", true, "<param name=ShowToolbar value=true>");
</script>
</ext:ContentPanel>
</Items>
</ext:Panel>
</form>
</body>
作者:
Mr.Wu
时间:
2013-2-21 09:14
自己回复一下,与大家分享。
在</htm>标签外面添加:
<script type="text/javascript">
//防止Ext控件被 ActiveX挡住
Ext.useShims = true;
</script>
欢迎光临 FineUI 官方论坛 (https://fineui.com/bbs/)
Powered by Discuz! X3.4