IE7 TableLayout BUG

  1. #1

    IE7 TableLayout BUG

    HI ALL,
    I have a problem,I use the 'TableLayout' and it can show normally in firefox and ie8, but can't show in ie7 and ie7.
    This is my code:
                <ext:FormPanel ID="searchPanel" runat="server" Width="950" Height="80" Title="Case Search"
                    Region="North" Padding="6" LabelWidth="110" >
                    <Items>
                        <ext:TableLayout ID="TableLayout1" runat="server" Columns="5" >
                            <Cells>
                                <ext:Cell>
                                    <ext:ComboBox FieldLabel="Account" ID="CmbUser" ValueField="ItemValue" DisplayField="ItemText"
                                        AllowBlank="true" StoreID="usersStore" Text="" LabelWidth="50" runat="server"
                                        AutoDataBind="true">
                                    </ext:ComboBox>
                                </ext:Cell>
                                <ext:Cell>
                                    <ext:ComboBox FieldLabel="Status" ID="CmbStatus" ValueField="ItemValue" DisplayField="ItemText"
                                        StoreID="statusStore" LabelWidth="40" runat="server" Text="All">
                                    </ext:ComboBox>
                                </ext:Cell>
                                <ext:Cell>
                                    <ext:CompositeField ID="CompositeField1" FieldLabel="Create Date" LabelWidth="75"
                                        runat="server" Width="320" LabelAlign="Right">
                                        <Items>
                                            <ext:DisplayField ID="DisplayField1" runat="server" Text="from" />
                                            <ext:DateField ID="createDateStart" runat="server" Format="M/d/yyyy" Text='<%#DateTime.Now.AddMonths(-1).ToShortDateString() %>'
                                                AutoDataBind="true">
                                            </ext:DateField>
                                            <ext:DisplayField ID="DisplayField2" runat="server" Text="to" />
                                            <ext:DateField ID="createDateEnd" runat="server" Format="M/d/yyyy" Text='<%#DateTime.Now.ToShortDateString() %>'
                                                AutoDataBind="true">
                                            </ext:DateField>
                                        </Items>
                                    </ext:CompositeField>
                                </ext:Cell>
                                <ext:Cell>
                                    <ext:TextField FieldLabel="Keywords" LabelWidth="60" ID="txtkeywords" runat="server">
                                    </ext:TextField>
                                </ext:Cell>
                                <ext:Cell>
                                    <ext:Button ID="submitBtn" Text="Search" runat="server" Type="Button" Icon="magnifier">
                                        <Listeners>
                                            <Click Handler="#{caseListGridPanel}.store.load({params:{start:0,limit:10}}); #{caseListGridPanel}.store.reload();" />
                                        </Listeners>
                                    </ext:Button>
                                </ext:Cell>
                            </Cells>
                        </ext:TableLayout>                     
    
                    </Items>
                </ext:FormPanel>
    please see attachments.
    thanks~
    Click image for larger version. 

Name:	1.JPG 
Views:	103 
Size:	75.5 KB 
ID:	3823Click image for larger version. 

Name:	2.JPG 
Views:	92 
Size:	72.5 KB 
ID:	3824
  2. #2
    Hi,

    Maybe would be better to use an HBoxLayout for this scenario. It's a more reliable layout engine than TableLayout.

    As well, we recommend using the .Layout property instead of the inner Layout Controls. The Layout Controls have been removed from Ext.NET in the v2 release.

    Hope this helps.
    Geoffrey McGill
    Founder
  3. #3
    Quote Originally Posted by geoffrey.mcgill View Post
    Hi,

    Maybe would be better to use an HBoxLayout for this scenario. It's a more reliable layout engine than TableLayout.

    As well, we recommend using the .Layout property instead of the inner Layout Controls. The Layout Controls have been removed from Ext.NET in the v2 release.

    Hope this helps.
    thank u~the problem is fixed~

Similar Threads

  1. AutoWidth in TableLayout
    By lagrange in forum 1.x Help
    Replies: 0
    Last Post: Sep 27, 2011, 2:47 AM
  2. Tablelayout & colspan- best practices
    By springrider in forum 1.x Help
    Replies: 0
    Last Post: Aug 18, 2011, 10:35 PM
  3. TableLayout
    By bilgecoolite in forum 1.x Help
    Replies: 4
    Last Post: Mar 19, 2010, 3:32 PM
  4. TableLayout questions
    By haltenberg in forum 1.x Help
    Replies: 2
    Last Post: Nov 04, 2008, 5:32 PM
  5. Nested TableLayout
    By riccardosarti in forum 1.x Help
    Replies: 3
    Last Post: Sep 25, 2008, 9:57 AM

Posting Permissions