May 09, 2014, 2:58 PM
How to show drop down list of comboBox from another page?
Hi Ext.net team,
I want to load a page(Sub Page) from Loader control of Panel in Main Page, but the drop down list of comboBox ( in Sub Page) will be blocked by the Main Page.(as the example in the attachment)
Any advice?
Thanks.
I want to load a page(Sub Page) from Loader control of Panel in Main Page, but the drop down list of comboBox ( in Sub Page) will be blocked by the Main Page.(as the example in the attachment)
Any advice?
Thanks.
<%@ Page Language="C#" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<script runat="server">
</script>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>Main Page</title>
</head>
<body>
<form id="form1" runat="server">
<ext:ResourceManager ID="MainResourceManager" runat="server" Namespace="" IDMode="Static" />
<ext:Panel ID="PSPanel" runat="server" Height="70" Border="false" AutoScroll="false">
<Items>
<ext:Panel ID="Panel1" runat="server">
<Loader ID="PSLoader" runat="server" Mode="Frame" Url="SubPage.aspx" AutoLoad="true"></Loader>
</ext:Panel>
</Items>
</ext:Panel>
</form>
</body>
</html>
<%@ Page Language="C#" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>Sub Page</title>
</head>
<body>
<form id="form1" runat="server">
<ext:ResourceManager ID="MainResourceManager" runat="server" Namespace="" IDMode="Static" />
<ext:Label ID="Label1" runat="server" Text="Sub-Page" />
<ext:Toolbar runat="server">
<Items>
<ext:ComboBox ID="cmbProStyleType" runat="server" Width="120" Editable="false" EnableKeyEvents="true">
<Items>
<ext:ListItem Text="Item 1" Value="0" />
<ext:ListItem Text="Item 2" Value="1" />
<ext:ListItem Text="Item 3" Value="1" />
<ext:ListItem Text="Item 4" Value="1" />
<ext:ListItem Text="Item 5" Value="1" />
</Items>
</ext:ComboBox>
</Items>
</ext:Toolbar>
</form>
</body>
</html>