Jun 23, 2008, 10:38 AM
2008-06-23 [Revision #58, Version 0.5.3]
- 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.
- 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.
Then in the child you can add the following.<ext:BorderLayout runat="server"> <Center> <ext:Panel runat="server" Title="Center"> <Content> <asp:ContentPlaceHolder id="ContentPlaceHolder1" runat="server" /> </Content> </ext:Panel> </Center> </ext:BorderLayout>
<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>