﻿<?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 / Bugs  / [FIXED] [V0.5] TextField Bug / 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 03:50:24 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: [FIXED] TextField Bug</title><link>http://www.coolite.com/forums/Topic622-5-1.aspx</link><description>Hi egof,&lt;br&gt;&lt;br&gt;Good point. I should have caught the TextArea problem when fixing TextField. Sorry about that. &lt;br&gt;&lt;br&gt;The bug has been fixed with TextArea.&lt;br&gt;&lt;br&gt;I also did some work with &amp;lt;ext:NumberField&amp;gt; and added a new .Number property. The .Number property accepts a Double object. To clear the NumberField you can set the .Number property to Double.MinValue or use the new .Clear() Method. &lt;br&gt;&lt;br&gt;Hope this helps.&lt;br&gt;&lt;br&gt;The code above will be available with v0.6.0.&lt;br&gt;</description><pubDate>Thu, 19 Jun 2008 17:02:45 GMT</pubDate><dc:creator>geoffrey.mcgill</dc:creator></item><item><title>RE: [FIXED] TextField Bug</title><link>http://www.coolite.com/forums/Topic622-5-1.aspx</link><description> The same bug that happend with TextField that i reported some days ago,now is happen with TextArea.</description><pubDate>Thu, 19 Jun 2008 08:42:20 GMT</pubDate><dc:creator>egof</dc:creator></item><item><title>RE: [FIXED] TextField Bug</title><link>http://www.coolite.com/forums/Topic622-5-1.aspx</link><description>Hi jumbot,&lt;br&gt;&lt;br&gt;Welcome to the forums! Huan yin!&lt;b&gt;&lt;br&gt;&lt;br&gt;&lt;/b&gt;I think you have great english skills. Much better than my Chinese. ;)&lt;br&gt;&lt;br&gt;Feel free to post in the language of your choice, although I would suggest also translating as best you can into English.&lt;br&gt;</description><pubDate>Sun, 15 Jun 2008 01:02:46 GMT</pubDate><dc:creator>geoffrey.mcgill</dc:creator></item><item><title>RE: [FIXED] TextField Bug</title><link>http://www.coolite.com/forums/Topic622-5-1.aspx</link><description> that's well!&lt;BR&gt;My English is very poor!&lt;BR&gt;Can I say In Chinese When i ask question Next Time?</description><pubDate>Sat, 14 Jun 2008 10:40:31 GMT</pubDate><dc:creator>jumbot</dc:creator></item><item><title>RE: [FIXED] TextField Bug</title><link>http://www.coolite.com/forums/Topic622-5-1.aspx</link><description>Fixed. It was a bug, and a very interesting one.&lt;br&gt;&lt;br&gt;If you're building from source, add the following attribute to the Value property of TextField.cs (approx line 69).&lt;br&gt;&lt;br&gt;&lt;b&gt;Example&lt;/b&gt;&lt;br&gt;&lt;br&gt;[code][DefaultValue(null)][/code]&lt;br&gt;&lt;br&gt;If the Text was empty ("") the ClientConfig script was ignoring property and not rendering the proper JavaScript to the browser. Now, the Text/Value will always render.&lt;br&gt;&lt;br&gt;The source has been updated and this fix will be available with the next public release (v0.5.2).&lt;br&gt;&lt;br&gt;Thanks again for pointing out the bug. &lt;br&gt;</description><pubDate>Thu, 12 Jun 2008 17:37:51 GMT</pubDate><dc:creator>geoffrey.mcgill</dc:creator></item><item><title>RE: [FIXED] TextField Bug</title><link>http://www.coolite.com/forums/Topic622-5-1.aspx</link><description>[code] &lt;span&gt;&lt;span&gt;&lt;span id="ctl10_ctlTopic"&gt;&lt;span id="ctl10_ctlTopic_ctlPanelBar_ctlTopicsRepeater_ctl08_lblFullMessage"&gt;&lt;pre&gt;&amp;lt;%@ Page Language="C#" %&amp;gt;&lt;br&gt;&lt;br&gt;&amp;lt;%@ Register assembly="Coolite.Ext.Web" namespace="Coolite.Ext.Web" tagprefix="ext" %&amp;gt;&lt;br&gt;&lt;br&gt;&amp;lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" &lt;br&gt;    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&amp;gt;&lt;br&gt;&lt;br&gt;&amp;lt;script runat="server"&amp;gt;&lt;br&gt;    protected void Button1_Click(object sender, EventArgs e)&lt;br&gt;    {&lt;br&gt;        if (string.IsNullOrEmpty(this.TextField1.Text))&lt;br&gt;        {&lt;br&gt;            this.TextField1.Text = "hello world!!!";&lt;br&gt;        }&lt;br&gt;        else&lt;br&gt;        {&lt;br&gt;            this.TextField1.Text="";   //THIS IS THE POINT, HOW  CAN I SET TO EMPTY("") THE TextField?&lt;br&gt;        }			       // LIKE I DID DONT CHANGE ANYTHING!!!!&lt;span&gt;&lt;span&gt;&lt;span id="ctl10_ctlTopic"&gt;&lt;span id="ctl10_ctlTopic_ctlPanelBar_ctlTopicsRepeater_ctl08_lblFullMessage"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br&gt;    }&lt;br&gt;&amp;lt;/script&amp;gt;&lt;br&gt;&lt;br&gt;&amp;lt;html xmlns="http://www.w3.org/1999/xhtml"&amp;gt;&lt;br&gt;&amp;lt;head runat="server"&amp;gt;&lt;br&gt;    &amp;lt;title&amp;gt;TextField Test&amp;lt;/title&amp;gt;&lt;br&gt;&amp;lt;/head&amp;gt;&lt;br&gt;&amp;lt;body&amp;gt;&lt;br&gt;    &amp;lt;form id="form1" runat="server"&amp;gt;&lt;br&gt;        &amp;lt;ext:ScriptManager ID="ScriptManager1" runat="server" /&amp;gt;&lt;br&gt;        &lt;br&gt;        &amp;lt;ext:TextField ID="TextField1" runat="server" /&amp;gt;&lt;br&gt;        &amp;lt;ext:Button ID="Button1" runat="server" &amp;#111;nclick="Button1_Click" Text="Submit" /&amp;gt;       &lt;br&gt;    &amp;lt;/form&amp;gt;&lt;br&gt;&amp;lt;/body&amp;gt;&lt;br&gt;&amp;lt;/html&amp;gt;&lt;br&gt;[/code]&lt;br&gt;&lt;/pre&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</description><pubDate>Thu, 12 Jun 2008 04:52:33 GMT</pubDate><dc:creator>egof</dc:creator></item><item><title>RE: [FIXED] TextField Bug</title><link>http://www.coolite.com/forums/Topic622-5-1.aspx</link><description>Hi egof,&lt;br&gt;&lt;br&gt;I tried a few tests with the TextField and everything appears to be working correctly. When you get a chance, please post a code sample demonstrating how to reproduce the problem. &lt;br&gt;&lt;br&gt;The following sample demonstrates the basic use of the TextField.&lt;br&gt;&lt;br&gt;&lt;b&gt;Example&lt;/b&gt;&lt;br&gt;&lt;br&gt;[code]&amp;lt;%@ Page Language="C#" %&amp;gt;&lt;br&gt;&lt;br&gt;&amp;lt;%@ Register assembly="Coolite.Ext.Web" namespace="Coolite.Ext.Web" tagprefix="ext" %&amp;gt;&lt;br&gt;&lt;br&gt;&amp;lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" &lt;br&gt;    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&amp;gt;&lt;br&gt;&lt;br&gt;&amp;lt;script runat="server"&amp;gt;&lt;br&gt;    protected void Button1_Click(object sender, EventArgs e)&lt;br&gt;    {&lt;br&gt;        if (string.IsNullOrEmpty(this.TextField1.Text))&lt;br&gt;        {&lt;br&gt;            this.Label1.Text = "{Empty}";&lt;br&gt;        }&lt;br&gt;        else&lt;br&gt;        {&lt;br&gt;            this.Label1.Text = this.TextField1.Text;&lt;br&gt;        }&lt;br&gt;    }&lt;br&gt;&amp;lt;/script&amp;gt;&lt;br&gt;&lt;br&gt;&amp;lt;html xmlns="http://www.w3.org/1999/xhtml"&amp;gt;&lt;br&gt;&amp;lt;head runat="server"&amp;gt;&lt;br&gt;    &amp;lt;title&amp;gt;TextField Test&amp;lt;/title&amp;gt;&lt;br&gt;&amp;lt;/head&amp;gt;&lt;br&gt;&amp;lt;body&amp;gt;&lt;br&gt;    &amp;lt;form id="form1" runat="server"&amp;gt;&lt;br&gt;        &amp;lt;ext:ScriptManager ID="ScriptManager1" runat="server" /&amp;gt;&lt;br&gt;        &lt;br&gt;        &amp;lt;ext:TextField ID="TextField1" runat="server" /&amp;gt;&lt;br&gt;        &amp;lt;ext:Button ID="Button1" runat="server" &amp;#111;nclick="Button1_Click" Text="Submit" /&amp;gt;&lt;br&gt;        &amp;lt;asp:Label ID="Label1" runat="server" /&amp;gt;&lt;br&gt;    &amp;lt;/form&amp;gt;&lt;br&gt;&amp;lt;/body&amp;gt;&lt;br&gt;&amp;lt;/html&amp;gt;&lt;br&gt;[/code]&lt;br&gt;&lt;br&gt;Hope this helps.&lt;br&gt;</description><pubDate>Thu, 12 Jun 2008 02:51:22 GMT</pubDate><dc:creator>geoffrey.mcgill</dc:creator></item><item><title>RE: [FIXED] TextField Bug</title><link>http://www.coolite.com/forums/Topic622-5-1.aspx</link><description>Can you please post the &amp;lt;ext:TextField&amp;gt; tag you use and/or the code-behind used to create the control?&lt;br&gt;</description><pubDate>Wed, 11 Jun 2008 21:07:03 GMT</pubDate><dc:creator>geoffrey.mcgill</dc:creator></item><item><title>[FIXED] [V0.5] TextField Bug</title><link>http://www.coolite.com/forums/Topic622-5-1.aspx</link><description> Hi I have a problem a dont know if is a bug!&lt;BR&gt; The problem is this :&lt;BR&gt; My TextField is FILL and when a try (in runtime) to put a value "" (empty) in the TextField, dont work, is simple like this, dont empty the TextField!&lt;BR&gt;&lt;BR&gt;THIS IS A BUG?&lt;BR&gt;&lt;BR&gt;Thank you for all!!!!</description><pubDate>Wed, 11 Jun 2008 19:54:56 GMT</pubDate><dc:creator>egof</dc:creator></item></channel></rss>