<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : DateTimePicker Vista BUG</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Controls : DateTimePicker Vista BUG]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 07:04:12 +0000</pubDate>
  <lastBuildDate>Wed, 15 Apr 2009 10:57:56 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=14030</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[DateTimePicker Vista BUG : I tried to usetwo datetimepickers...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14030&amp;PID=47951&amp;title=datetimepicker-vista-bug#47951</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4913">TomasS</a><br /><strong>Subject:</strong> 14030<br /><strong>Posted:</strong> 15 April 2009 at 10:57am<br /><br /><P>I tried to use&nbsp;two datetimepickers to set a date range. I works great until you set MaxDate&nbsp;on one of them to a passed date (18:th of may 2004 in this case). If you then dropdown, it will move to 1:st of april 2009 for no reason. (1 day of current month maybe?? This is written 15:th of april). Both datetimepickers textbox and the monthview dropdown are changed to this&nbsp;wrong value. Proper behaviour is to keep the current date.</P><DIV>This is a problem on Vista only. On XP it works great.</DIV><DIV>Setting MaxDate to a date in the future makes it work alright, but I want to restrict the dates to a certain range in history.</DIV><DIV>Removing theme support also makes it work, but that's basically the idea behind using the CJ component instead of MS&nbsp;common ocx.</DIV><DIV>Problem is the same on both US english and Swedish regional settings so it's not related to that.</DIV><DIV>I had the same issue with the CCRP datepicker! So it may be a bug in the Vista themed version of the native&nbsp;common control!</DIV><DIV>It could be possible to make a workaround in the DropDown event but it seems you can only access the datepicker date textbox from there, not affect the monthview dropdown that is also set to the wrong date.</DIV><DIV>&nbsp;</DIV><DIV>Can you fix this or provide a workaround?</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Wed, 15 Apr 2009 10:57:56 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14030&amp;PID=47951&amp;title=datetimepicker-vista-bug#47951</guid>
  </item> 
 </channel>
</rss>