﻿<?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-07-07 [Revision #101, Version 0.6.0] / 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 06:55:19 GMT</lastBuildDate><ttl>20</ttl><item><title>2008-07-07 [Revision #101, Version 0.6.0]</title><link>http://www.coolite.com/forums/Topic869-12-1.aspx</link><description>&lt;ol&gt;&lt;li&gt;Fixed bug in DateField where the input field would not clear properly if the SelectedDate was set to DateTime.MinValue or if the .Clear() Method was called.&lt;br&gt;&lt;br&gt;Fix involved using the .SetRawValue() Method only if the SelectedDate was Null/Empty (.IsNull).&lt;/li&gt;&lt;li&gt;Added support for Panel.Tools property.&lt;br&gt;&lt;br&gt;The following demonstrates how to add a user defined "Toggle" Tool to Collapse/Expand the Panel. This would reproduce the same functionality as setting the .Collapsible property to "true".&lt;br&gt;&lt;br&gt;&lt;b&gt;Example&lt;/b&gt;&lt;br&gt;&lt;br&gt;[code]&amp;lt;Tools&amp;gt;&lt;br&gt;        &amp;lt;ext:Tool Type="Toggle" Handler="panel.toggleCollapse();" /&amp;gt;&lt;br&gt;&amp;lt;/Tools&amp;gt;[/code]&lt;br&gt;&lt;br&gt;The following example demonstrates adding a "Help" Tool. When the Help Tool is clicked, the Handler property is executed and the content of a &amp;lt;ext:Window&amp;gt; control is updated then the Window is shown.&lt;br&gt;&lt;br&gt;&lt;b&gt;Example&lt;/b&gt;&lt;br&gt;&lt;br&gt;[code]&amp;lt;Tools&amp;gt;&lt;br&gt;        &amp;lt;ext:Tool Type="Help" Qtip="Click for Help" &lt;br&gt;                Handler="{Window1}.body.update(String.format(msgTemplate, panel.title));&lt;br&gt;                                {Window1}.show();"&lt;br&gt;                /&amp;gt;&lt;br&gt;&amp;lt;/Tools&amp;gt;[/code]&lt;br&gt;&lt;br&gt;In the above code sample, within the Handler property, a control token ({Window1}) is used. The server-side ID of the Window is wrapped with curly-braces {}. The ID is then converted to the .ClientID at runtime.&lt;br&gt;&lt;br&gt;The .ClientID may be different than the .ID at runtime if the control is nested within a INamingContainer control such as a MasterPage.&lt;/li&gt;&lt;/ol&gt;</description><pubDate>Mon, 07 Jul 2008 06:18:04 GMT</pubDate><dc:creator>geoffrey.mcgill</dc:creator></item></channel></rss>