TabPane whenl showing new tab panel with AutoLoad - doesn't load anything

  1. #1

    TabPanel when showing new "tab panel" with AutoLoad - doesn't load anything

    The problem is...
    I have TabPanel with several Panel inside it. By default visible all.
    but by user activity second tab can be hided, than shown.
    The problem is if second tab was not opened once and it was hided than shown - autoload doesn't work.

    Code used to show/hide:
    TabPanel.addTab(TermsConditionsTabPanel, false);
    or
    TabPanel.closeTab(TermsConditionsTabPanel);

    <ext:TabPanel ID="TabPanel" runat="server" Region="Center" >
        <Listeners>
            <TabChange Handler="reloadActiveTab();" />
        </Listeners>
        <Items>
            <ext:Panel ID="Panel1"  runat="server" Title="Information" Border="false" AutoScroll="true" Layout="Fit" Split="true">
                <AutoLoad 
                    Url="/TenderCarrier/TenderCarrierInformationTab/" 
                    Mode="IFrame" 
                    ShowMask="true" 
                    MaskMsg="Loading 'Information'..." >
                    <Params>
                        <ext:Parameter Name="id" Value="#{TenderId}.getValue()"  Mode="Raw" />
                    </Params>
                </AutoLoad>
            </ext:Panel>
            <ext:Panel ID="TermsConditionsTabPanel" CloseAction="Hide" runat="server" Title="Terms and Conditions" Border="false" AutoScroll="true" Layout="Fit" Split="true" >
                <AutoLoad 
                    Url="/TenderCarrier/TenderCarrierTermsConditionsTab/" 
                    Mode="IFrame"
                    ShowMask="true" 
                    MaskMsg="Loading 'Terms and Conditions'..."  >
                    <Params>
                        <ext:Parameter Name="id" Value="#{TenderId}.getValue()"  Mode="Raw" />
                    </Params>
                </AutoLoad>
            </ext:Panel>
            <ext:Panel ID="CommentsTab" CloseAction="Hide" runat="server"  Title="Uploads & Comments"   Border="false"  Padding="5"  >
                <Items>
    
                </Items>
            </ext:Panel>
        </Items>
    </ext:TabPanel>
    Last edited by alexot; Jan 14, 2012 at 12:51 PM.
  2. #2
    Hi,

    Could you provide a full, but simplified, example to reproduce the problem?

Similar Threads

  1. Replies: 13
    Last Post: Feb 29, 2012, 8:41 AM
  2. Replies: 2
    Last Post: Sep 01, 2009, 3:15 PM
  3. How to load PDF document in AutoLoad?
    By dbassett74 in forum 1.x Help
    Replies: 1
    Last Post: May 14, 2009, 5:30 PM
  4. Replies: 9
    Last Post: Apr 29, 2009, 8:12 PM
  5. Replies: 5
    Last Post: Apr 03, 2009, 11:29 AM

Posting Permissions