Jan 12, 2011, 9:39 AM
[1.0] LabelSeparator inconsistency when using empty string
I'm using Ext.NET 1.0 RC1, with .NET 3.5. This bug is not browser dependent.
Description: if setting the LabelSeparator property of a control to an empty string (""), then the setting is ignored (the control still uses the default separator). However, if the controls are inside a FormPanel, then setting the control LabelSeparator property to an empty string works.
The behavior should be consistent (probably allowing empty strings, as it currently does inside FormPanels).
Test case:
Description: if setting the LabelSeparator property of a control to an empty string (""), then the setting is ignored (the control still uses the default separator). However, if the controls are inside a FormPanel, then setting the control LabelSeparator property to an empty string works.
The behavior should be consistent (probably allowing empty strings, as it currently does inside FormPanels).
Test case:
<p>LabelSeparator setting ignored:</p>
<ext:DisplayField ID="DisplayField1" runat="server" Text="MyText" FieldLabel="MyLabel" LabelSeparator="" />
<ext:ComboBox ID="ComboBox1" runat="server" Text="MyText" FieldLabel="MyLabel" LabelSeparator="" />
<p>LabelSeparator setting respected:</p>
<ext:FormPanel runat="server">
<Items>
<ext:DisplayField ID="DisplayField2" runat="server" Text="MyText" FieldLabel="MyLabel" LabelSeparator="" />
<ext:ComboBox ID="ComboBox2" runat="server" Text="MyText" FieldLabel="MyLabel" LabelSeparator="" />
</Items>
</ext:FormPanel>