﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>Coolite Forums / Coolite Toolkit / Release Notes  / 2008-06-23 [Revision #58, Version 0.5.3] / Latest Posts</title><generator>InstantForum.NET v4.1.4</generator><description>Coolite Forums</description><link>http://www.coolite.com/forums/</link><webMaster>do-not-reply@coolite.com</webMaster><lastBuildDate>Tue, 06 Jan 2009 16:57:07 GMT</lastBuildDate><ttl>20</ttl><item><title>2008-06-23 [Revision #58, Version 0.5.3]</title><link>http://www.coolite.com/forums/Topic765-12-1.aspx</link><description>&lt;ol&gt;&lt;li&gt;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. &lt;br&gt;&lt;/li&gt;&lt;li&gt;Added support for adding Layout controls within a &amp;lt;asp:Content&amp;gt; area of a MasterPage. &lt;br&gt;&lt;br&gt;For example, in a MasterPage you define a &amp;lt;ext:ViewPort&amp;gt; within a &amp;lt;Center&amp;gt; region. In the Center region you add a &amp;lt;ext:Panel&amp;gt; and within that Panel you add your &amp;lt;asp:ContentPlaceHolder&amp;gt;. Now in the child page which uses this MasterPage, you can now add a &amp;lt;ext:FitLayout&amp;gt;.&lt;br&gt;&lt;br&gt;&lt;b&gt;Example&lt;/b&gt;&lt;br&gt;&lt;br&gt;Define the following in your ViewPort MasterPage.&lt;br&gt;&lt;br&gt;[code]&amp;lt;ext:BorderLayout runat="server"&amp;gt;&lt;br&gt;    &amp;lt;Center&amp;gt;&lt;br&gt;        &amp;lt;ext:Panel runat="server" Title="Center"&amp;gt;&lt;br&gt;            &amp;lt;Content&amp;gt;&lt;br&gt;                &amp;lt;asp:ContentPlaceHolder id="ContentPlaceHolder1" runat="server" /&amp;gt;&lt;br&gt;            &amp;lt;/Content&amp;gt;&lt;br&gt;        &amp;lt;/ext:Panel&amp;gt;&lt;br&gt;    &amp;lt;/Center&amp;gt;&lt;br&gt;&amp;lt;/ext:BorderLayout&amp;gt;[/code]&lt;br&gt;&lt;br&gt;Then in the child you can add the following.&lt;br&gt;&lt;br&gt;[code]&amp;lt;asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server"&amp;gt;&lt;br&gt;    &amp;lt;ext:FitLayout ID="FitLayout1" runat="server"&amp;gt;&lt;br&gt;        &amp;lt;ext:Panel ID="Panel1" runat="server" Title="Inner Panel" /&amp;gt;&lt;br&gt;    &amp;lt;/ext:FitLayout&amp;gt;&lt;br&gt;&amp;lt;/asp:Content&amp;gt;[/code]&lt;/li&gt;&lt;/ol&gt;</description><pubDate>Mon, 23 Jun 2008 06:38:44 GMT</pubDate><dc:creator>geoffrey.mcgill</dc:creator></item></channel></rss>