FormPanel column layout Error in IE!

  1. #1

    FormPanel column layout Error in IE!

    <ext:FormPanel ID="FormPanel1" runat="server" ButtonAlign="Right" Height="185" Width="500" Padding="5" Layout="Column" Title="Column Layout">
    				<Items>
    					<ext:TextField ID="TextField1" runat="server" AnchorHorizontal="100" FieldLabel="Name" />
    					<ext:TextField ID="TextField2" runat="server" AnchorHorizontal="100" FieldLabel="UserName" />
    				</Items>
    			</ext:FormPanel>
    in IE6.0, 7.0 error!!


    in Firefox
    Attached Thumbnails Click image for larger version. 

Name:	IE.png 
Views:	940 
Size:	1.8 KB 
ID:	2041   Click image for larger version. 

Name:	Firefox.png 
Views:	935 
Size:	2.3 KB 
ID:	2042  
    Last edited by qq899817; Dec 15, 2010 at 6:27 AM.
  2. #2
    Hi,

    FormPanel with Column layout... I'm not sure this is a good layout.

    I would suggest you to do not change a default FormPanel's layout (form) and wrap field in CompositeFIeld.
    https://examples1.ext.net/#/Form/Com...ield/Overview/
  3. #3

    this fixed it for me

    This slighlty tweaked code from the EXt.NET examples on Form Layout did the trick for me - HTH.......


                    <ext:Container runat="server" Layout="Column" Height="100">
                        <Items>
                            <ext:Container runat="server" LabelAlign="Top" Layout="Form" ColumnWidth=".5">
                                <Items>
                                    <ext:TextField runat="server" FieldLabel="First Name" AnchorHorizontal="95%" />
                                    <ext:TextField runat="server" FieldLabel="Company" AnchorHorizontal="95%" />
                                </Items>
                            </ext:Container>
                            <ext:Container runat="server" LabelAlign="Top" Layout="Form" ColumnWidth=".5">
                                <Items>
                                    <ext:TextField runat="server" FieldLabel="Last Name" AnchorHorizontal="95%" />
                                    <ext:TextField runat="server" FieldLabel="Email" AnchorHorizontal="95%" />
                                </Items>
                            </ext:Container>
                        </Items>
                    </ext:Container>

Similar Threads

  1. [CLOSED] layout issue when using RowLayout within column layout
    By Daly_AF in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Jun 11, 2012, 2:40 PM
  2. [CLOSED] vbox layout inside column layout
    By craig2005 in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Feb 04, 2011, 2:44 PM
  3. [CLOSED] [1.0] Column Layout Error
    By gokcemutlu in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Jan 21, 2010, 10:19 AM
  4. [CLOSED] What is wrong with Column Layout and FormPanel
    By turione in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Jan 08, 2010, 3:46 PM
  5. formpanel looses layout!!!
    By Kamal in forum 1.x Help
    Replies: 2
    Last Post: Jan 07, 2010, 4:32 AM

Tags for this Thread

Posting Permissions