2008-06-23 [Revision #58, Version 0.5.3]
New Community Forums available at http://forums.ext.net
 

Coolite Forums

Welcome Guest ( Login | Register )
 
2008-06-23 [Revision #58, Version 0.5.3]
Subscribe
Last Login: 7/8/2010 1:50:34 AM
Posts: 4,722,
Posted 6/23/2008 6:38:44 AM

Group: Core Development Team
  1. Changed the call to the SweepControls Method from Page_Load to Page_LoadComplete. This changed fixed a bug a where if controls were added during Page_Load, they the SweepControls Method did not get called because the life-cycle had already passed.
  2. Added support for adding Layout controls within a <asp:Content> area of a MasterPage.

    For example, in a MasterPage you define a <ext:ViewPort> within a <Center> region. In the Center region you add a <ext:Panel> and within that Panel you add your <asp:ContentPlaceHolder>. Now in the child page which uses this MasterPage, you can now add a <ext:FitLayout>.

    Example

    Define the following in your ViewPort MasterPage.

    <ext:BorderLayout runat="server">
        <Center>
            <ext:Panel runat="server" Title="Center">
                <Content>
                    <asp:ContentPlaceHolder id="ContentPlaceHolder1" runat="server" />
                </Content>
            </ext:Panel>
        </Center>
    </ext:BorderLayout>


    Then in the child you can add the following.

    <asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
        <ext:FitLayout ID="FitLayout1" runat="server">
            <ext:Panel ID="Panel1" runat="server" Title="Inner Panel" />
        </ext:FitLayout>
    </asp:Content>
--
Geoffrey McGill
Coolite Inc.
Development Team
Skype : geoffrey.mcgill
Forum Guidelines | Coolite Examples | Coolite API Docs | ExtJS API Docs | Twitter
« Prev Topic | Next Topic »
Reading This Topic
Active Users: 0 ( 0 guests, 0 members, 0 anonymous members )
No members currently viewing this topic.
All times are GMT -5:00, Time now is 8:35pm