[CLOSED] [1.0] GroupTabPanel AutoLoad a GroupTab

  1. #1

    [CLOSED] [1.0] GroupTabPanel AutoLoad a GroupTab

    Hello,

    I have setup a GroupTabPanel with a few GroupTab items. Inside one of these GroupTabs I would like to AutoLoad a page. What I have done is to insert a Panel with an AutoLoad element which works fine:

    <ext:GroupTabPanel ID="GroupTabPanel1" runat="server" TabWidth="130" ActiveGroupIndex="0">
        <Groups>
            <ext:GroupTab ID="gtOPS" runat="server" MainItem="0">
                <Items>
                    <ext:Panel runat="server" Header="false" Border="false">
                        <AutoLoad Url="/OPS/Home/Index" Mode="IFrame">
                        </AutoLoad>
                    </ext:Panel>
                    <ext:Panel runat="server" Title="SSRI Information" Icon="TagBlue">
                        <Content>
                            <p>Sample Content</p>
                        </Content>
                    </ext:Panel>
                </Items>
            </ext:GroupTab>
            ...
        </Groups>
    </ext:GroupTabPanel>
    However, despite setting Header="false" and Border="false" I still get a header and border which ruins the look of the GroupTabPanel. Is there something else I need to be doing or can this not be achieved at the moment?

    Thanks,
  2. #2

    RE: [CLOSED] [1.0] GroupTabPanel AutoLoad a GroupTab

    Hello, rcaunt!

    I think I have a decision to solve your problem.

    Look at the following remark to use AutoLoad.
    "If the url is a local url, the Panel will make an Ajax request for the url and
    replace the body of the Panel with the html from the &amp;lt;body> of the Page being requested..."
    (This remark and some more you can see in the source code of the example
    http://examples1.ext.net/#/Panel/Basic/AutoLoad/)

    The phrase "replace the body" is the key point.
    So, when you set up the properties Header and Border in the panel on the top page it just rewrites
    by the content of autoloading page.
    This means that you have to set up the respective properties in the "/OPS/Home/Index" page.
  3. #3

    RE: [CLOSED] [1.0] GroupTabPanel AutoLoad a GroupTab

    Hi Daniil,

    It wasn't because of how the AutoLoad works (which is different to how I think you think it works).


    The Portal within the page that was being AutoLoaded had a header/border and title on it that was causing the problem.


    All is now working fine so this thread can be closed.


    Thanks
  4. #4

    RE: [CLOSED] [1.0] GroupTabPanel AutoLoad a GroupTab

    Daniil.Veriga (6/22/2010)
    This means that you have to set up the respective properties in the "/OPS/Home/Index" page.
    So, the respective properties Header/Border of your Portal control. But it doesn't matter, the main thing that all is now working fine.

Similar Threads

  1. [CLOSED] How to hide a GroupTab
    By jmcantrell in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Mar 08, 2012, 8:24 AM
  2. help on dynamic groupTab
    By phinoppix in forum 1.x Help
    Replies: 0
    Last Post: Jul 04, 2011, 9:46 AM
  3. how to change grouptab color
    By archana mahadule in forum 1.x Help
    Replies: 1
    Last Post: Jan 13, 2011, 12:29 PM
  4. Replies: 10
    Last Post: Sep 22, 2010, 10:07 PM
  5. [CLOSED] GroupTabPanel bug
    By Jurke in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Jul 07, 2010, 6:54 AM

Posting Permissions