Dec 03, 2012, 12:43 AM
TableLayout 2 bugs in Ext.Net1.x
When I use TableLayout with Ext.Net1.x and IE6 or IE Quirks mode, TableLayout will look like below:
In normal mode will look like this:
code below:
In normal mode will look like this:
code below:
<ext:TableLayout ID="TableLayout1" runat="server" Columns="3">
<Cells>
<ext:Cell>
<ext:TextField ID="TextField1" runat="server" FieldLabel="Source" Width="300" LabelAlign="Right">
</ext:TextField>
</ext:Cell>
<ext:Cell>
<ext:Container ID="Container2" runat="server" Width="350">
<Items>
<ext:ComboBox ID="ComboBox1" runat="server" FieldLabel="Type" Width="300" LabelAlign="Right"
Editable="false">
</ext:ComboBox>
</Items>
</ext:Container>
</ext:Cell>
<ext:Cell>
<ext:Button ID="Button1" runat="server" Text="Search" Icon="Find">
<Listeners>
<Click Fn="doQuery" />
</Listeners>
</ext:Button>
</ext:Cell>
<ext:Cell>
<ext:DateField ID="DateField1" runat="server" Vtype="daterange" EndDateField="DateField2"
FieldLabel="from" Width="300" LabelAlign="Right" Format="Y/m/d">
</ext:DateField>
</ext:Cell>
<ext:Cell>
<ext:DateField ID="DateField2" runat="server" Vtype="daterange" StartDateField="DateField1"
FieldLabel="to" Width="300" LabelAlign="Right" Format="Y/m/d">
</ext:DateField>
</ext:Cell>
<ext:Cell>
<ext:Button ID="Button2" runat="server" Text="Reset" Icon="BinEmpty">
<Listeners>
<Click Fn="clearQuery" />
</Listeners>
</ext:Button>
</ext:Cell>
</Cells>
</ext:TableLayout>
And another problem is FileUploadField can't display upload button in TableLayout.<ext:TableLayout ID="TableLayout1" runat="server" Columns="3">
<Cells>
<ext:Cell>
<ext:FileUploadField ID="FileUploadField1" runat="server" FieldLabel="FileUploadField" Width="300" LabelAlign="Right">
</ext:FileUploadField>
</ext:Cell>
<ext:Cell>
<ext:Container ID="Container2" runat="server" Width="350">
<Items>
<ext:ComboBox ID="ComboBox1" runat="server" FieldLabel="Type" Width="300" LabelAlign="Right"
Editable="false">
</ext:ComboBox>
</Items>
</ext:Container>
</ext:Cell>
<ext:Cell>
<ext:Button ID="Button1" runat="server" Text="Search" Icon="Find">
<Listeners>
<Click Fn="doQuery" />
</Listeners>
</ext:Button>
</ext:Cell>
<ext:Cell>
<ext:DateField ID="DateField1" runat="server" Vtype="daterange" EndDateField="DateField2"
FieldLabel="from" Width="300" LabelAlign="Right" Format="Y/m/d">
</ext:DateField>
</ext:Cell>
<ext:Cell>
<ext:DateField ID="DateField2" runat="server" Vtype="daterange" StartDateField="DateField1"
FieldLabel="to" Width="300" LabelAlign="Right" Format="Y/m/d">
</ext:DateField>
</ext:Cell>
<ext:Cell>
<ext:Button ID="Button2" runat="server" Text="Reset" Icon="BinEmpty">
<Listeners>
<Click Fn="clearQuery" />
</Listeners>
</ext:Button>
</ext:Cell>
</Cells>
</ext:TableLayout>