[CLOSED] Column Layout inside Anchor

  1. #1

    [CLOSED] Column Layout inside Anchor

    Hi,

    I have code like this:

    <ext:Anchor>
        <ext:ColumnLayout runat="server">
            <Columns>
                <ext:LayoutColumn ColumnWidth="0.5">
                    <ext:TextField ID="TextField1" runat="server" FieldLabel="Text Field 1" />
                </ext:LayoutColumn>
                <ext:LayoutColumn ColumnWidth="0.5">
                    <ext:TextField ID="TextField2" runat="server" FieldLabel="Text Field 2" />
                </ext:LayoutColumn>
            </Columns>
        </ext:ColumnLayout>
    </ext:Anchor>
    but this doesn't render in the browser - Chrome outputs the following error:

    Uncaught SyntaxError: Unexpected token :
    Is it possible to have a column layout inside an anchor?

    Many Thanks
    Last edited by Daniil; Jun 27, 2011 at 12:54 PM. Reason: [CLOSED]
  2. #2
    Hi,

    Please define any Ext.Net container wihin <ext:Anchor> and use any layout for this container.

Similar Threads

  1. [CLOSED] Anchor Layout Issue (IE)
    By nhg_itd in forum 1.x Legacy Premium Help
    Replies: 45
    Last Post: Nov 17, 2011, 6:08 AM
  2. Replies: 0
    Last Post: Mar 17, 2011, 4:14 PM
  3. [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
  4. [CLOSED] add direct Event to anchor inside a dataview.
    By farisqadadeh in forum 1.x Legacy Premium Help
    Replies: 5
    Last Post: Dec 28, 2010, 9:30 AM
  5. [CLOSED] Spinnerfield broken inside anchor?
    By UGRev in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: May 14, 2010, 4:42 PM

Tags for this Thread

Posting Permissions