border layout inside of tab

  1. #1

    border layout inside of tab

    any idea why this isn't rendering inside of a tab.

    This ascx file is being brought into a tab via a partialviewresult (MVC).

    <ext:BorderLayout ID="BorderLayout1" runat="server">
        <West Collapsible="false" Split="true">
            <ext:Panel ID="Panel1" runat="server" Title="West" Width="400">
            </ext:Panel>
        </West>
        <Center>
            <ext:Panel ID="Panel2" runat="server" Title="Center" Width="1">
            </ext:Panel>
        </Center>
        <East Collapsible="false" Split="true">
            <ext:Panel ID="Panel3" runat="server" Title="East" Width="400" Height="300" Layout="fit">
            <Items>
             <ext:Panel ID="accEventsWrapper" runat="server" AutoHeight="true" Header="false" Border="false">
                    <Items>
                        <ext:AccordionLayout ID="accEvents" runat="server" Animate="true">
                            <Items>
                                <ext:Panel ID="accEventsPanel" runat="server" Border="false" AutoHeight="true" Layout="fit" Title="Events"  Collapsed="false" Padding="10" />
                            </Items>
                        </ext:AccordionLayout>
                    </Items>
                </ext:Panel>
                <ext:Panel ID="accPhotosWrapper" runat="server" AutoHeight="true" Header="false" Border="false">
                    <Items>
                        <ext:AccordionLayout ID="accPhotos" runat="server" Animate="true">
                            <Items>
                                <ext:Panel ID="accPhotosPanel" runat="server" Border="false" AutoHeight="true" Layout="fit" Title="Photos"  Collapsed="false" Padding="10" />
                            </Items>
                        </ext:AccordionLayout>
                    </Items>
                </ext:Panel>
                <ext:Panel ID="accRolesWrapper" runat="server" AutoHeight="true" Header="false" Border="false">
                    <Items>
                        <ext:AccordionLayout ID="accRoles" runat="server" Animate="true">
                            <Items>
                                <ext:Panel ID="accRolesPanel" runat="server" Border="false" AutoHeight="true" Layout="fit" Title="My Roles"  Collapsed="true" Padding="10">
                                      <AutoLoad Url="/Group/HomeTab_MyRoles" NoCache="true" ShowMask="true" Scripts="true">
                                        <Params>
                                            <ext:Parameter Name="containerId" Value="function () { return #{accRolesPanel}.body.id; }" Mode="Raw" />
                                        </Params>
                                     </AutoLoad>
                                </ext:Panel>
                            </Items>
                        </ext:AccordionLayout>
                    </Items>
                </ext:Panel>
            </Items>
            </ext:Panel>
        </East>
        <South Collapsible="true" Split="true">
            <ext:Panel ID="Panel4" runat="server" Height="150" Title="South">
            </ext:Panel>
        </South>
    </ext:BorderLayout>
  2. #2

    height issue

    It seems to be a height issue. I added a wrapper panel as well and set the height. The auto height isn't working either.

    I thought in an ascx control you didn't need a wrapper panel because the border layout was being loaded into another panel.

    http://forums.ext.net/showthread.php...t=borderlayout

Similar Threads

  1. Border Layout not getting collapsed
    By vivekrane1986 in forum 1.x Help
    Replies: 0
    Last Post: Jun 05, 2010, 6:23 AM
  2. [CLOSED] Border Layout percentage
    By GmServizi in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Oct 22, 2009, 7:51 AM
  3. [CLOSED] Need help with Border layout
    By Jurke in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: May 29, 2009, 9:05 AM
  4. [CLOSED] Panel inside border layout
    By tansu in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: May 15, 2009, 10:53 AM
  5. Border Layout
    By oskarni in forum 1.x Help
    Replies: 7
    Last Post: Apr 10, 2008, 9:19 PM

Posting Permissions