[CLOSED] FormPanel composite fields not accessible whose items span multiple tabs in tabpanel

  1. #1

    [CLOSED] FormPanel composite fields not accessible whose items span multiple tabs in tabpanel

    Hi,

    I have a form panel whose fields are placed in various tabs of a tab panel. I am not able to access an item in a composite field of another tab in code behind.

    <%@ Page Language="C#" %>
    <script runat="server">      
    protected void Page_Load(object sender, EventArgs e)     
    {        
      DrugRouteIds.Hide(); 
    </script> 
    
    <asp:Content ID="Content2" ContentPlaceHolderID="cntMain" runat="server">
        <ext:TabPanel ID="tabPanelDailyPainAssessment" runat="server" ActiveTabIndex="0"
            Plain="true" Height="1000">
            <Items>
                <ext:Panel ID="tabDailyPainAssessment" runat="server" Title="Daily Pain Assessment"
                    AutoScroll="true" BodyStyle="padding: 6px;">
                    <Items>
                        <ext:FormPanel ID="formPanelAutoUITest" runat="server" Border="false" BodyBorder="false"
                            ButtonAlign="Left" LabelWidth="200" AutoWidth="true">
                            <Content>
                                <ext:TabPanel ID="tabPanelPainAssessment" runat="server" Plain="true" Height="600"
                                    IDMode="Explicit" LayoutOnTabChange="true">
                                    <Items>
                                        <ext:Panel ID="tabServiceChanges" Title="Service Changes" AutoScroll="true" runat="server"
                                            Layout="Form" BodyBorder="false" BodyStyle="padding:5px;" IDMode="Explicit">
                                            <Content>
                                                <ext:CompositeField ID="compositeFieldServiceChangesADD" runat="server" FieldLabel="Service Changes ADD"
                                                    IDMode="Explicit">
                                                    <Items>
                                                        <ext:MultiSelect ID="multiSelectServiceChangesADDIds" runat="server" DragGroup="grp1"
                                                            DropGroup="grp4,grp3,grp2,grp1" Width="300" Height="345" StoreID="storeServiceChangesADD"
                                                            ValueField="Id" DisplayField="Description" />
                                                        <ext:TextField ID="textFieldServiceChangesADDOther" runat="server" Width="250" MsgTarget="Side" />
                                                    </Items>
                                                </ext:CompositeField>
                                            </Content>
                                        </ext:Panel>
                                        <ext:Panel Layout="Form" ID="tabDailyPainInfo" Title="Daily Pain Info" runat="server"
                                            AutoScroll="true" BodyBorder="false" BodyStyle="padding:5px;" IDMode="Explicit">
                                            <Content>
                                                <ext:CompositeField ID="compositeFieldDrugRoute" runat="server" FieldLabel="Drug Route">
                                                    <Items>
                                                        <ext:MultiSelect runat="server" ID="DrugRouteIds" DragGroup="grp1" DropGroup="grp4,grp3,grp2,grp1"
                                                            Width="300" Height="467" StoreID="storeDrugRoute" ValueField="Id" DisplayField="Description"
                                                            MsgTarget="Side" IDMode="Explicit" />
                                                        <ext:TextField ID="DrugRouteOther" runat="server" Width="250" MsgTarget="Side" />
                                                    </Items>
                                                </ext:CompositeField>
                                            </Content>
                                        </ext:Panel>
                                   </Items>
                                </ext:TabPanel>
                            </Content>
                        </ext:FormPanel>
                    </Items>
                </ext:Panel>
            </Items>
        </ext:TabPanel>
    </asp:Content>
    Last edited by geoffrey.mcgill; Dec 06, 2010 at 4:08 PM. Reason: [CLOSED], please use [CODE] tags
  2. #2
    Hi,

    I guess this item is not rendered yet.

    Please try:
    <ext:TabPanel ...DeferredRender="false">
    See also
    http://dev.sencha.com/deploy/dev/doc...deferredRender

Similar Threads

  1. [CLOSED] Composite Fields, Labels and Radio Buttons
    By GavinR in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Mar 22, 2012, 6:33 PM
  2. Replies: 7
    Last Post: Mar 09, 2011, 8:15 PM
  3. [CLOSED] [1.0] Grid column header group - span multiple rows
    By Neil_Walters in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Jan 14, 2011, 11:11 PM
  4. [CLOSED] Validation within Composite fields
    By jeremyl in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: May 12, 2010, 5:54 AM
  5. [CLOSED] Field Label Width of Composite Fields
    By jeremyl in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: May 11, 2010, 5:32 AM

Posting Permissions