Feb 22, 2010, 12:59 PM
[CLOSED] Layout Issue in Hidden Container
Hi,
The subject may not be 100% correct. Here's an issue which has taken me looooong to identify. Run the following code in IE you will get an error "Invalid Argument". This is specific to ComboBox. To remove the error, do either of the following:
1) Set the FieldLabel property of cmbMonthlyWeekOfMonth. The error will disappear.
2) Remove the Hidden Property of conMonthly container.
The subject may not be 100% correct. Here's an issue which has taken me looooong to identify. Run the following code in IE you will get an error "Invalid Argument". This is specific to ComboBox. To remove the error, do either of the following:
1) Set the FieldLabel property of cmbMonthlyWeekOfMonth. The error will disappear.
2) Remove the Hidden Property of conMonthly container.
<ext:Panel runat="server" Height="80" ID="recurringOptionsPanel" Border="false">
<Items>
<ext:Container ID="conMonthly" Hidden="true" ForceLayout="true" runat="server" Layout="fit" PaddingSummary="5 0 0 0"
Height="40">
<Items>
<ext:Panel runat="server" ID="panel1" Border="false">
<Items>
<ext:HBoxLayout ID="HBoxLayout4" runat="server" PaddingSummary="5 0 0 0">
<BoxItems>
<ext:BoxItem Flex="2">
<ext:ComboBox runat="server" ID="cmbMonthlyWeekofMonth" SelectedIndex="0">
<Template ID="ctl249"></Template>
<Items>
<ext:ListItem Text="First" Value="1" />
<ext:ListItem Text="Second" Value="2" />
<ext:ListItem Text="Third" Value="3" />
<ext:ListItem Text="Fourth" Value="4" />
<ext:ListItem Text="Last" Value="5" />
</Items>
</ext:ComboBox>
</ext:BoxItem>
</BoxItems>
</ext:HBoxLayout>
</Items>
</ext:Panel>
</Items>
</ext:Container>
</Items>
</ext:Panel>