[CLOSED] Composite field - textarea - grow...composite field isn't growing...

  1. #1

    [CLOSED] Composite field - textarea - grow...composite field isn't growing...

    I have a composite field with a textarea that is set to "Grow"...
    The composit field isn't growing with it... any ideas?

                   <ext:CompositeField ID="CompositeField1" runat="server"  HideLabel="true" AutoHeight="true"   >
                <Items>
                <ext:TextArea runat="server" ID="txtInvUpdate" StyleSpec="font-style:italic" HideLabel="true"
                    AllowBlank="true" TabIndex="9" EmptyText="Investment Update" Height="30"
                    Grow="true" Width="573" GrowMin="30">
                    <Listeners>
                        <KeyDown Handler="  focusHtmlEdidor();" /> 
                    </Listeners> 
                </ext:TextArea>
                  <ext:ImageButton ID="ImageButton3" runat="server" ImageUrl="../../extnet/icons/information.png"  >
               <Listeners>
              
               </Listeners>
                </ext:ImageButton>
                            </Items> 
                </ext:CompositeField>
    Last edited by Daniil; Oct 12, 2011 at 3:58 PM. Reason: [CLOSED]
  2. #2
    Hi,

    Please see the example.

    Example

    <%@ Page Language="C#" %>
    
    <%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head runat="server">
        <title>Ext.Net Example</title>
    </head>
    <body>
        <form runat="server">
            <ext:ResourceManager runat="server" />
            <ext:CompositeField runat="server" Height="30">
                <Items>
                    <ext:TextArea 
                        runat="server" 
                        Grow="true" 
                        Width="573" 
                        GrowMin="30">
                        <Listeners>
                            <AutoSize Handler="this.ownerCt.setHeight(this.getHeight());" />
                        </Listeners>
                    </ext:TextArea>
                    <ext:Button runat="server" Text="Button" />
                </Items>
            </ext:CompositeField>
        </form>
    </body>
    </html>

Similar Threads

  1. RTL for Composite Field
    By ahmadezzeir in forum 1.x Help
    Replies: 3
    Last Post: May 17, 2012, 8:25 PM
  2. how to organize composite field
    By feanor91 in forum 1.x Help
    Replies: 5
    Last Post: Dec 07, 2011, 11:11 AM
  3. Replies: 2
    Last Post: Sep 22, 2011, 11:46 AM
  4. Replies: 2
    Last Post: Aug 19, 2011, 1:36 PM
  5. Composite field with UserControl
    By Paul D in forum 1.x Help
    Replies: 4
    Last Post: Dec 19, 2010, 7:02 PM

Posting Permissions