Oct 02, 2012, 10:15 AM
[CLOSED] Load MultiSelectCombobox during button click direct event
Hi,
I have a panel with many multiselect comboboxes. I am trying to make this panel delay load itself using a hidden button. Here is how I declared the comboboxes
I am binding the store to a datatable in code behind on the hidden button click but the list remains empty (it works fine if I load it on page load). Any idea? I am using Content instead of Items in outer panel because I have ASP.NET controls inside this outer panel which I can not add if I use Items.
I have a panel with many multiselect comboboxes. I am trying to make this panel delay load itself using a hidden button. Here is how I declared the comboboxes
<ext:Panel ID="OuterPanel" runat="server" AutoHeight="true" AutoWidth="true" border="false" IDMode="Explicit" ClientID="OuterPanel" >
<Content>
<ext:FormPanel runat="server" border="true" LabelAlign="Top" ColumnWidth="1" ID="cntFuelFilter" Title="Filters" ButtonAlign="Center" height="500px" autowidth="true" PaddingSummary="5px 20px 5px 5px">
<items>
<ext:multicombo ID="ddlFleetType" runat="server" Delimiter="," fieldlabel="Fleet Type" IDMode="Explicit" ClientID="ddlFleetType" LabelCls="OSyS_WP_Label OSyS_WP_FuelFilter_Label"
AnchorHorizontal="95%" ValueField="IDENTIFIER" DisplayField="IDENTIFIER" Editable="false" Cls="OSyS_WP_DropDownList OSyS_WP_FuelFilter_DropDownList" >
<store>
<ext:store ID="FleetStore" runat="server" idmode="Explicit" ClientID="FleetStore" >
<reader>
<ext:jsonreader IDProperty="IDENTIFIER">
<fields>
<ext:recordfield Name="IDENTIFIER" Mapping="IDENTIFIER" />
</fields>
</ext:jsonreader>
</reader>
</ext:store>
</store>
<listeners>
<select Fn="selectListener" />
</listeners>
</ext:multicombo>
.....
I am binding the store to a datatable in code behind on the hidden button click but the list remains empty (it works fine if I load it on page load). Any idea? I am using Content instead of Items in outer panel because I have ASP.NET controls inside this outer panel which I can not add if I use Items.
Last edited by Daniil; Oct 04, 2012 at 6:19 PM.
Reason: [CLOSED]