<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments for Michael Bell's Blog</title>
	<atom:link href="http://www.michaelkbell.com/index.php/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.michaelkbell.com</link>
	<description>My one-in-all blog...</description>
	<lastBuildDate>Mon, 24 May 2010 19:30:56 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on Yet Another TimePicker Update &#8211; DisplaySeconds by Michael Bell</title>
		<link>http://www.michaelkbell.com/index.php/2009/04/06/yet-another-timepicker-update-displayseconds/comment-page-1/#comment-229</link>
		<dc:creator>Michael Bell</dc:creator>
		<pubDate>Mon, 24 May 2010 19:30:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.MichaelKBell.com/2009/04/06/YetAnotherTimePickerUpdateDisplaySeconds.aspx#comment-229</guid>
		<description>I have implemented your fix and placed it here and on CodePlex.

&lt;blockquote cite=&quot;#commentbody-212&quot;&gt;
&lt;strong&gt;&lt;a href=&quot;#comment-212&quot; rel=&quot;nofollow&quot;&gt;chris&lt;/a&gt; :&lt;/strong&gt;
Hi,
relating to the TwentyFour bug - 09:00 always getting 21:00, 10:00 always
getting 22:00 and so on…
don’t know if that’s really a good solution, but it worked for me:
IMHO there was just a little piece of code missing in the date property:
        ///
        /// DateTime value. Defaults to current day if not set. Otherwise, maintains a value of the date assigned plus time shown.
        ///
        [Browsable(true)]
        public DateTime Date
        {
            get
            {
                if (ViewState[&quot;Date&quot;] == null)
                    return DateTime.MinValue;
                else
                {
                    if (SelectedTimeFormat == TimeFormat.Twelve)
                    {
                        ViewState[&quot;Date&quot;] = Convert.ToDateTime(ViewState[&quot;Date&quot;]).ToShortDateString() + ” ” + Hour.ToString() + “:” + Minute.ToString() + “:” + Second.ToString() + ” ” + AmPm.ToString();
                    }
                    else
                    {
                        ViewState[&quot;Date&quot;] = Convert.ToDateTime((Convert.ToDateTime(ViewState[&quot;Date&quot;]).ToShortDateString() + ” ” + Hour.ToString() + “:” + Minute.ToString() + “:” + Second.ToString() + ” “), System.Globalization.CultureInfo.CurrentCulture.DateTimeFormat);
                    }
                    return Convert.ToDateTime(ViewState[&quot;Date&quot;]);
                }
            }
            set
            {
                ViewState[&quot;Date&quot;] = value;
                SetTime(value);
            }
        }
maybe someone can benefit from
&lt;/blockquote&gt;</description>
		<content:encoded><![CDATA[<p>I have implemented your fix and placed it here and on CodePlex.</p>
<blockquote cite="#commentbody-212"><p>
<strong><a href="#comment-212" rel="nofollow">chris</a> :</strong><br />
Hi,<br />
relating to the TwentyFour bug &#8211; 09:00 always getting 21:00, 10:00 always<br />
getting 22:00 and so on…<br />
don’t know if that’s really a good solution, but it worked for me:<br />
IMHO there was just a little piece of code missing in the date property:<br />
        ///<br />
        /// DateTime value. Defaults to current day if not set. Otherwise, maintains a value of the date assigned plus time shown.<br />
        ///<br />
        [Browsable(true)]<br />
        public DateTime Date<br />
        {<br />
            get<br />
            {<br />
                if (ViewState["Date"] == null)<br />
                    return DateTime.MinValue;<br />
                else<br />
                {<br />
                    if (SelectedTimeFormat == TimeFormat.Twelve)<br />
                    {<br />
                        ViewState["Date"] = Convert.ToDateTime(ViewState["Date"]).ToShortDateString() + ” ” + Hour.ToString() + “:” + Minute.ToString() + “:” + Second.ToString() + ” ” + AmPm.ToString();<br />
                    }<br />
                    else<br />
                    {<br />
                        ViewState["Date"] = Convert.ToDateTime((Convert.ToDateTime(ViewState["Date"]).ToShortDateString() + ” ” + Hour.ToString() + “:” + Minute.ToString() + “:” + Second.ToString() + ” “), System.Globalization.CultureInfo.CurrentCulture.DateTimeFormat);<br />
                    }<br />
                    return Convert.ToDateTime(ViewState["Date"]);<br />
                }<br />
            }<br />
            set<br />
            {<br />
                ViewState["Date"] = value;<br />
                SetTime(value);<br />
            }<br />
        }<br />
maybe someone can benefit from
</p></blockquote>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Yet Another TimePicker Update &#8211; DisplaySeconds by Michael Bell</title>
		<link>http://www.michaelkbell.com/index.php/2009/04/06/yet-another-timepicker-update-displayseconds/comment-page-1/#comment-228</link>
		<dc:creator>Michael Bell</dc:creator>
		<pubDate>Mon, 24 May 2010 19:21:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.MichaelKBell.com/2009/04/06/YetAnotherTimePickerUpdateDisplaySeconds.aspx#comment-228</guid>
		<description>&lt;a href=&quot;#comment-206&quot; rel=&quot;nofollow&quot;&gt;@Jean &lt;/a&gt; 
I have implemented your fix. FOcus issues are hopefully resolved when using more than one instance in a page!</description>
		<content:encoded><![CDATA[<p><a href="#comment-206" rel="nofollow">@Jean </a><br />
I have implemented your fix. FOcus issues are hopefully resolved when using more than one instance in a page!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Yet Another TimePicker Update &#8211; DisplaySeconds by Terry</title>
		<link>http://www.michaelkbell.com/index.php/2009/04/06/yet-another-timepicker-update-displayseconds/comment-page-1/#comment-225</link>
		<dc:creator>Terry</dc:creator>
		<pubDate>Wed, 07 Apr 2010 09:56:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.MichaelKBell.com/2009/04/06/YetAnotherTimePickerUpdateDisplaySeconds.aspx#comment-225</guid>
		<description>How to set all zero for hour, minute and second? Example: 00:00:00

I am using SelectedTimeFormat=&quot;TwentyFour&quot;.

Thanks.</description>
		<content:encoded><![CDATA[<p>How to set all zero for hour, minute and second? Example: 00:00:00</p>
<p>I am using SelectedTimeFormat=&#8221;TwentyFour&#8221;.</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Yet Another TimePicker Update &#8211; DisplaySeconds by Mark</title>
		<link>http://www.michaelkbell.com/index.php/2009/04/06/yet-another-timepicker-update-displayseconds/comment-page-1/#comment-224</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Tue, 30 Mar 2010 16:14:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.MichaelKBell.com/2009/04/06/YetAnotherTimePickerUpdateDisplaySeconds.aspx#comment-224</guid>
		<description>From what I found and seems to have fixed it for me, is the fact that if the control is in &#039;24&#039; hour mode, the ampm attribute is not created, therefore when LoadPostData() executes, since it&#039;s not found, it defaults to PM.  I added the following change (locate &#039;string sAmPm&#039; in the LoadPostData() function) and has been working fine so far.

// If missing, should be in 24 hour
            string sAmPm = values[this.UniqueID + &quot;_txtAmPm&quot;];
            if (!String.IsNullOrEmpty(sAmPm))
            {
                AmPmSpec tAmPm = (values[this.UniqueID + &quot;_txtAmPm&quot;] == &quot;AM&quot;) ? AmPmSpec.AM : AmPmSpec.PM;
                if (tAmPm != AmPm)
                {
                    AmPm = tAmPm;
                    hasAmPmChange = true;
                }
            }
            else
            {
                if (int.Parse(sHour) &gt; 11)
                {
                    AmPm = AmPmSpec.PM;
                }
                else
                {
                    AmPm = AmPmSpec.AM;
                }
            }</description>
		<content:encoded><![CDATA[<p>From what I found and seems to have fixed it for me, is the fact that if the control is in &#8216;24&#8242; hour mode, the ampm attribute is not created, therefore when LoadPostData() executes, since it&#8217;s not found, it defaults to PM.  I added the following change (locate &#8217;string sAmPm&#8217; in the LoadPostData() function) and has been working fine so far.</p>
<p>// If missing, should be in 24 hour<br />
            string sAmPm = values[this.UniqueID + "_txtAmPm"];<br />
            if (!String.IsNullOrEmpty(sAmPm))<br />
            {<br />
                AmPmSpec tAmPm = (values[this.UniqueID + "_txtAmPm"] == &#8220;AM&#8221;) ? AmPmSpec.AM : AmPmSpec.PM;<br />
                if (tAmPm != AmPm)<br />
                {<br />
                    AmPm = tAmPm;<br />
                    hasAmPmChange = true;<br />
                }<br />
            }<br />
            else<br />
            {<br />
                if (int.Parse(sHour) &gt; 11)<br />
                {<br />
                    AmPm = AmPmSpec.PM;<br />
                }<br />
                else<br />
                {<br />
                    AmPm = AmPmSpec.AM;<br />
                }<br />
            }</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Yet Another TimePicker Update &#8211; DisplaySeconds by Louie</title>
		<link>http://www.michaelkbell.com/index.php/2009/04/06/yet-another-timepicker-update-displayseconds/comment-page-1/#comment-223</link>
		<dc:creator>Louie</dc:creator>
		<pubDate>Wed, 24 Mar 2010 02:49:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.MichaelKBell.com/2009/04/06/YetAnotherTimePickerUpdateDisplaySeconds.aspx#comment-223</guid>
		<description>No more support for this timepicker? I also have the twentyfour hour problem, it alsways display 10am as 22:00. I&#039;ll just create my own and post it later.</description>
		<content:encoded><![CDATA[<p>No more support for this timepicker? I also have the twentyfour hour problem, it alsways display 10am as 22:00. I&#8217;ll just create my own and post it later.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on ASP.NET TimePicker Documentation by Jim</title>
		<link>http://www.michaelkbell.com/index.php/2009/02/27/aspnet-timepicker-documentation/comment-page-1/#comment-222</link>
		<dc:creator>Jim</dc:creator>
		<pubDate>Thu, 11 Mar 2010 00:50:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.MichaelKBell.com/2009/02/27/ASPNETTimePickerDocumentation.aspx#comment-222</guid>
		<description>No chance of having this available for .net 2.0 is there?</description>
		<content:encoded><![CDATA[<p>No chance of having this available for .net 2.0 is there?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on .NET Time Picker Updates by Robin</title>
		<link>http://www.michaelkbell.com/index.php/2009/02/18/net-time-picker-updates/comment-page-1/#comment-221</link>
		<dc:creator>Robin</dc:creator>
		<pubDate>Sat, 20 Feb 2010 02:19:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.MichaelKBell.com/2009/02/18/NETTimePickerUpdates.aspx#comment-221</guid>
		<description>Michael,

If you look at you sample page with Firefox, you will see some vertical alignment problems with the colons used as separators.

Do you have any thoughts on how to fix this and if so, would you consider doing so?

Thanks in advance.</description>
		<content:encoded><![CDATA[<p>Michael,</p>
<p>If you look at you sample page with Firefox, you will see some vertical alignment problems with the colons used as separators.</p>
<p>Do you have any thoughts on how to fix this and if so, would you consider doing so?</p>
<p>Thanks in advance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on About by Orrin Watson</title>
		<link>http://www.michaelkbell.com/index.php/about/comment-page-1/#comment-218</link>
		<dc:creator>Orrin Watson</dc:creator>
		<pubDate>Fri, 12 Feb 2010 20:04:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.michaelkbell.com/blog/?page_id=2#comment-218</guid>
		<description>sry, thoght it might be useful to show you the error i&#039;m getting:  

Message: Sys.WebForms.PageRequestManagerServerErrorException: Conversion from type &#039;DBNull&#039; to type &#039;Date&#039; is not valid.</description>
		<content:encoded><![CDATA[<p>sry, thoght it might be useful to show you the error i&#8217;m getting:  </p>
<p>Message: Sys.WebForms.PageRequestManagerServerErrorException: Conversion from type &#8216;DBNull&#8217; to type &#8216;Date&#8217; is not valid.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on About by Orrin Watson</title>
		<link>http://www.michaelkbell.com/index.php/about/comment-page-1/#comment-217</link>
		<dc:creator>Orrin Watson</dc:creator>
		<pubDate>Fri, 12 Feb 2010 20:03:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.michaelkbell.com/blog/?page_id=2#comment-217</guid>
		<description>hey!  nice work with the timepicker control!  I&#039;m trying to use it in a databound form, but it&#039;s blowing up when the time field is null... is there a way around this?  thanks!</description>
		<content:encoded><![CDATA[<p>hey!  nice work with the timepicker control!  I&#8217;m trying to use it in a databound form, but it&#8217;s blowing up when the time field is null&#8230; is there a way around this?  thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Yet Another TimePicker Update &#8211; DisplaySeconds by cdw</title>
		<link>http://www.michaelkbell.com/index.php/2009/04/06/yet-another-timepicker-update-displayseconds/comment-page-1/#comment-215</link>
		<dc:creator>cdw</dc:creator>
		<pubDate>Tue, 09 Feb 2010 01:40:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.MichaelKBell.com/2009/04/06/YetAnotherTimePickerUpdateDisplaySeconds.aspx#comment-215</guid>
		<description>Has anyone successfully built a patched version that corrects the 24 Hour problem?  Would you like to make the source and/or DLL available?</description>
		<content:encoded><![CDATA[<p>Has anyone successfully built a patched version that corrects the 24 Hour problem?  Would you like to make the source and/or DLL available?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
