<?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>
	<pubDate>Wed, 10 Mar 2010 15:59:40 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on About by Mike Bell</title>
		<link>http://www.michaelkbell.com/index.php/about/comment-page-1/#comment-213</link>
		<dc:creator>Mike Bell</dc:creator>
		<pubDate>Tue, 02 Feb 2010 22:34:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.michaelkbell.com/blog/?page_id=2#comment-213</guid>
		<description>&lt;blockquote cite="#commentbody-192"&gt;
&lt;strong&gt;&lt;a href="#comment-192" rel="nofollow"&gt;bob smith &lt;/a&gt; :&lt;/strong&gt;&lt;B&gt;Mike&lt;/B&gt;, quick question, on the TimePicker control, I want it to default to blank when it first comes up. (so it will not display a date or time). I set it as follows:
myPicker.Hour = 0;myPicker.Minute = 0;
But it still shows a today&#8217;s current time. Am I missing something?
ThanksBob&lt;/blockquote&gt;

You're going to have to custom code that. I've posted the souirce at http://timepicker.codeplex.com so ou can grab it there.</description>
		<content:encoded><![CDATA[<blockquote cite="#commentbody-192"><p>
<strong><a href="#comment-192" rel="nofollow">bob smith </a> :</strong><b>Mike</b>, quick question, on the TimePicker control, I want it to default to blank when it first comes up. (so it will not display a date or time). I set it as follows:<br />
myPicker.Hour = 0;myPicker.Minute = 0;<br />
But it still shows a today&#8217;s current time. Am I missing something?<br />
ThanksBob</p></blockquote>
<p>You&#8217;re going to have to custom code that. I&#8217;ve posted the souirce at <a href="http://timepicker.codeplex.com" rel="nofollow">http://timepicker.codeplex.com</a> so ou can grab it there.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Yet Another TimePicker Update - DisplaySeconds by chris</title>
		<link>http://www.michaelkbell.com/index.php/2009/04/06/yet-another-timepicker-update-displayseconds/comment-page-1/#comment-212</link>
		<dc:creator>chris</dc:creator>
		<pubDate>Mon, 01 Feb 2010 20:52:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.MichaelKBell.com/2009/04/06/YetAnotherTimePickerUpdateDisplaySeconds.aspx#comment-212</guid>
		<description>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["Date"] == null)
                    return DateTime.MinValue;
                else
                {
                    if (SelectedTimeFormat == TimeFormat.Twelve)
                    {
                        ViewState["Date"] = Convert.ToDateTime(ViewState["Date"]).ToShortDateString() + " " + Hour.ToString() + ":" + Minute.ToString() + ":" + Second.ToString() + " " + AmPm.ToString();
                    }
                    else
                    {
                        ViewState["Date"] = Convert.ToDateTime((Convert.ToDateTime(ViewState["Date"]).ToShortDateString() + " " + Hour.ToString() + ":" + Minute.ToString() + ":" + Second.ToString() + " "), System.Globalization.CultureInfo.CurrentCulture.DateTimeFormat);
                    }
                    return Convert.ToDateTime(ViewState["Date"]);
                }
            }
            set
            {
                ViewState["Date"] = value;
                SetTime(value);
            }
        }

maybe someone can benefit from</description>
		<content:encoded><![CDATA[<p>Hi,<br />
relating to the TwentyFour bug - 09:00 always getting 21:00, 10:00 always<br />
getting 22:00 and so on&#8230;<br />
don&#8217;t know if that&#8217;s really a good solution, but it worked for me:</p>
<p>IMHO there was just a little piece of code missing in the date property:</p>
<p>        ///<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() + &#8221; &#8221; + Hour.ToString() + &#8220;:&#8221; + Minute.ToString() + &#8220;:&#8221; + Second.ToString() + &#8221; &#8221; + AmPm.ToString();<br />
                    }<br />
                    else<br />
                    {<br />
                        ViewState["Date"] = Convert.ToDateTime((Convert.ToDateTime(ViewState["Date"]).ToShortDateString() + &#8221; &#8221; + Hour.ToString() + &#8220;:&#8221; + Minute.ToString() + &#8220;:&#8221; + Second.ToString() + &#8221; &#8220;), 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 />
        }</p>
<p>maybe someone can benefit from</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on .NET Time Picker Updates by Louie</title>
		<link>http://www.michaelkbell.com/index.php/2009/02/18/net-time-picker-updates/comment-page-1/#comment-211</link>
		<dc:creator>Louie</dc:creator>
		<pubDate>Sat, 23 Jan 2010 10:51:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.MichaelKBell.com/2009/02/18/NETTimePickerUpdates.aspx#comment-211</guid>
		<description>Hi Michael,
Your control is really nice, i’m now using it in my web application… you made life a bit simpler. thank</description>
		<content:encoded><![CDATA[<p>Hi Michael,<br />
Your control is really nice, i’m now using it in my web application… you made life a bit simpler. thank</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on .NET Time Picker Updates by Louie</title>
		<link>http://www.michaelkbell.com/index.php/2009/02/18/net-time-picker-updates/comment-page-1/#comment-210</link>
		<dc:creator>Louie</dc:creator>
		<pubDate>Sat, 23 Jan 2010 10:50:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.MichaelKBell.com/2009/02/18/NETTimePickerUpdates.aspx#comment-210</guid>
		<description>Hi Michael,

Your control is really nice, i'm not using it in my web application... you made life a bit simpler.  thanks.</description>
		<content:encoded><![CDATA[<p>Hi Michael,</p>
<p>Your control is really nice, i&#8217;m not using it in my web application&#8230; you made life a bit simpler.  thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Yet Another TimePicker Update - DisplaySeconds by Frank</title>
		<link>http://www.michaelkbell.com/index.php/2009/04/06/yet-another-timepicker-update-displayseconds/comment-page-1/#comment-209</link>
		<dc:creator>Frank</dc:creator>
		<pubDate>Wed, 20 Jan 2010 21:19:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.MichaelKBell.com/2009/04/06/YetAnotherTimePickerUpdateDisplaySeconds.aspx#comment-209</guid>
		<description>Thank you Jean for posting your solution.
works great!</description>
		<content:encoded><![CDATA[<p>Thank you Jean for posting your solution.<br />
works great!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Yet Another TimePicker Update - DisplaySeconds by Patrick</title>
		<link>http://www.michaelkbell.com/index.php/2009/04/06/yet-another-timepicker-update-displayseconds/comment-page-1/#comment-208</link>
		<dc:creator>Patrick</dc:creator>
		<pubDate>Fri, 15 Jan 2010 14:29:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.MichaelKBell.com/2009/04/06/YetAnotherTimePickerUpdateDisplaySeconds.aspx#comment-208</guid>
		<description>&lt;a href="#comment-205" rel="nofollow"&gt;@Ilia Lukianov &lt;/a&gt; 
Hi Ilia, could u please send the source code for fix the SelectedTimeFormat=”TwentyFour”?</description>
		<content:encoded><![CDATA[<p><a href="#comment-205" rel="nofollow">@Ilia Lukianov </a><br />
Hi Ilia, could u please send the source code for fix the SelectedTimeFormat=”TwentyFour”?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Yet Another TimePicker Update - DisplaySeconds by Patrick</title>
		<link>http://www.michaelkbell.com/index.php/2009/04/06/yet-another-timepicker-update-displayseconds/comment-page-1/#comment-207</link>
		<dc:creator>Patrick</dc:creator>
		<pubDate>Fri, 15 Jan 2010 14:25:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.MichaelKBell.com/2009/04/06/YetAnotherTimePickerUpdateDisplaySeconds.aspx#comment-207</guid>
		<description>Hi Mike,
Did you fixed the problem JD mentioned here.(Comment no 13, 14). I have the same problem. If we set SelectedTimeFormat=”TwentyFour” then if we choose 5:00 it returns only PM as 17:00. Could you pls fix this problem and update the DLL?

Thanks again!.</description>
		<content:encoded><![CDATA[<p>Hi Mike,<br />
Did you fixed the problem JD mentioned here.(Comment no 13, 14). I have the same problem. If we set SelectedTimeFormat=”TwentyFour” then if we choose 5:00 it returns only PM as 17:00. Could you pls fix this problem and update the DLL?</p>
<p>Thanks again!.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Yet Another TimePicker Update - DisplaySeconds by Jean</title>
		<link>http://www.michaelkbell.com/index.php/2009/04/06/yet-another-timepicker-update-displayseconds/comment-page-1/#comment-206</link>
		<dc:creator>Jean</dc:creator>
		<pubDate>Fri, 08 Jan 2010 14:59:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.MichaelKBell.com/2009/04/06/YetAnotherTimePickerUpdateDisplaySeconds.aspx#comment-206</guid>
		<description>Thanks Mike!  I really like your timepicker.  Its easy to use and priced right :)  

I was having the same problem as Frank (focus was not changing between multiple instances of timepickers), so I took a look at the source code on codeplex.  I was able to get the focus to change by making a small change in the javascript function ensureFocus - just need to update the global variable lastFocusCtrl.

function ensureFocus(c) 
    {        
        var controlSetPrefix = c.id.replace('_imgUp', '');
        controlSetPrefix = controlSetPrefix.replace('_imgDown', '');
       
        if (lastFocusCtrl == null) // This should only happen once, max
        {
            lastFocusCtrl = document.getElementById(controlSetPrefix + '_txtHour');            
        }
        else 
        {
            if (lastFocusCtrl.id.indexOf(controlSetPrefix) != 0)
            {
                var elem = document.getElementById(controlSetPrefix + '_txtHour')
                if (null != elem)
                {
                    elem.focus();
                    lastFocusCtrl = elem;
                }
            }
        }
    }

Thanks again!</description>
		<content:encoded><![CDATA[<p>Thanks Mike!  I really like your timepicker.  Its easy to use and priced right <img src='http://www.michaelkbell.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  </p>
<p>I was having the same problem as Frank (focus was not changing between multiple instances of timepickers), so I took a look at the source code on codeplex.  I was able to get the focus to change by making a small change in the javascript function ensureFocus - just need to update the global variable lastFocusCtrl.</p>
<p>function ensureFocus(c)<br />
    {<br />
        var controlSetPrefix = c.id.replace(&#8217;_imgUp&#8217;, &#8221;);<br />
        controlSetPrefix = controlSetPrefix.replace(&#8217;_imgDown&#8217;, &#8221;);</p>
<p>        if (lastFocusCtrl == null) // This should only happen once, max<br />
        {<br />
            lastFocusCtrl = document.getElementById(controlSetPrefix + &#8216;_txtHour&#8217;);<br />
        }<br />
        else<br />
        {<br />
            if (lastFocusCtrl.id.indexOf(controlSetPrefix) != 0)<br />
            {<br />
                var elem = document.getElementById(controlSetPrefix + &#8216;_txtHour&#8217;)<br />
                if (null != elem)<br />
                {<br />
                    elem.focus();<br />
                    lastFocusCtrl = elem;<br />
                }<br />
            }<br />
        }<br />
    }</p>
<p>Thanks again!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Yet Another TimePicker Update - DisplaySeconds by Ilia Lukianov</title>
		<link>http://www.michaelkbell.com/index.php/2009/04/06/yet-another-timepicker-update-displayseconds/comment-page-1/#comment-205</link>
		<dc:creator>Ilia Lukianov</dc:creator>
		<pubDate>Tue, 08 Dec 2009 11:00:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.MichaelKBell.com/2009/04/06/YetAnotherTimePickerUpdateDisplaySeconds.aspx#comment-205</guid>
		<description>Hi!
Well I probably fix bug with TwentyFour mode. How can update the source code for TimePicker?</description>
		<content:encoded><![CDATA[<p>Hi!<br />
Well I probably fix bug with TwentyFour mode. How can update the source code for TimePicker?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Yet Another TimePicker Update - DisplaySeconds by Nick K.</title>
		<link>http://www.michaelkbell.com/index.php/2009/04/06/yet-another-timepicker-update-displayseconds/comment-page-1/#comment-204</link>
		<dc:creator>Nick K.</dc:creator>
		<pubDate>Mon, 23 Nov 2009 21:51:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.MichaelKBell.com/2009/04/06/YetAnotherTimePickerUpdateDisplaySeconds.aspx#comment-204</guid>
		<description>FYI - I tried using the lastest download of this library but it references a library, GVSVC.DLL that I can NOT find on my windows installation (Vista 64, Server 2003).</description>
		<content:encoded><![CDATA[<p>FYI - I tried using the lastest download of this library but it references a library, GVSVC.DLL that I can NOT find on my windows installation (Vista 64, Server 2003).</p>
]]></content:encoded>
	</item>
</channel>
</rss>
