<?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 : Selecting WorkWeek w/ attached DatePicker</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Calendar : Selecting WorkWeek w/ attached DatePicker]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 09:33:38 +0000</pubDate>
  <lastBuildDate>Tue, 25 Apr 2006 12:50:14 +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=3363</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[Selecting WorkWeek w/ attached DatePicker : Check out version 10.1.1 -- if...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3363&amp;PID=12404&amp;title=selecting-workweek-w-attached-datepicker#12404</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=862">sserge</a><br /><strong>Subject:</strong> 3363<br /><strong>Posted:</strong> 25 April 2006 at 12:50pm<br /><br />Check out version 10.1.1 -- if you switch to WorkWeek mode there, it will be kept so when you select a single day.<br><br>--<br>WBR,<br>Serge<br>]]>
   </description>
   <pubDate>Tue, 25 Apr 2006 12:50:14 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3363&amp;PID=12404&amp;title=selecting-workweek-w-attached-datepicker#12404</guid>
  </item> 
  <item>
   <title><![CDATA[Selecting WorkWeek w/ attached DatePicker : Serge,  Is this present in 10.1?...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3363&amp;PID=12371&amp;title=selecting-workweek-w-attached-datepicker#12371</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=658">dajv</a><br /><strong>Subject:</strong> 3363<br /><strong>Posted:</strong> 23 April 2006 at 9:56pm<br /><br />Serge,<br /><br />Is this present in 10.1? I can't see that it is.<br /><br />Thanks.<br /> <br /><br /> <table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by sserge" alt="Originally posted by sserge" style="vertical-align: text-bottom;" /> <strong>sserge wrote:</strong><br /><br />Hi,<br /><br />Thanks for a review and the suggestion. Will fix this issue for the next release.<br /><br />--<br />WBR,<br />Serge</td></tr></table> ]]>
   </description>
   <pubDate>Sun, 23 Apr 2006 21:56:17 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3363&amp;PID=12371&amp;title=selecting-workweek-w-attached-datepicker#12371</guid>
  </item> 
  <item>
   <title><![CDATA[Selecting WorkWeek w/ attached DatePicker : Thanks jeffrowberg, but determining...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3363&amp;PID=10382&amp;title=selecting-workweek-w-attached-datepicker#10382</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=658">dajv</a><br /><strong>Subject:</strong> 3363<br /><strong>Posted:</strong> 02 January 2006 at 3:47pm<br /><br />Thanks jeffrowberg, but determining the dates that should  be selected was the least of my problems. The real issue is that you have to "adjust" the selection on the date picker after the fact, and the way I use the datepicker and calendar thats not feasible.<br /><br />Thanks though.]]>
   </description>
   <pubDate>Mon, 02 Jan 2006 15:47:07 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3363&amp;PID=10382&amp;title=selecting-workweek-w-attached-datepicker#10382</guid>
  </item> 
  <item>
   <title><![CDATA[Selecting WorkWeek w/ attached DatePicker : I have come up with a cheap way...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3363&amp;PID=10375&amp;title=selecting-workweek-w-attached-datepicker#10375</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1697">jeffrowberg</a><br /><strong>Subject:</strong> 3363<br /><strong>Posted:</strong> 30 December 2005 at 5:33pm<br /><br />I have come up with a cheap way to obtain this functionality by using a MonthView object (contained in standard MS common controls someplace, I don't remember which version).&nbsp; If you are on a five-day view, clicking on a weekend will result in the five nearest work days being selected.&nbsp; On a seven-day view, it just does what you would expect.&nbsp; My code below also checks whether a single day was selected, so if you select multiple days on purpose, it doesn't reset your selection.&nbsp; This would be easy to remove though.<br><br>I know using a MonthView object is inefficient, but it makes it easy to get the DayOfWeek value from the date.<br><br>For reference, "mViewType" is the view type (0 for 5-day, 1 for 7-day), and "DPick" is the date picker (duh).<br><br>Jeff<br><br><table width="99%"><tr><td><pre class="BBcode">&nbsp;&nbsp; If mViewType = 0 And DPick.Selection.Blocks(0).DateBegin = DPick.Selection.Blocks(0).dateEnd Then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MView.Value = DPick.Selection.Blocks(0).DateBegin<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DPick.SelectRange DPick.Selection.Blocks(0).DateBegin - (MView.DayOfWeek - 2), DPick.Selection.Blocks(0).dateEnd + (6 - MView.DayOfWeek)<br>&nbsp;&nbsp;&nbsp; End If<br>&nbsp;&nbsp;&nbsp; If mViewType = 1 And DPick.Selection.Blocks(0).DateBegin = DPick.Selection.Blocks(0).dateEnd Then<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MView.Value = DPick.Selection.Blocks(0).DateBegin<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DPick.SelectRange DPick.Selection.Blocks(0).DateBegin - (MView.DayOfWeek - 1), DPick.Selection.Blocks(0).dateEnd + (7 - MView.DayOfWeek)<br>&nbsp;&nbsp;&nbsp; End If</pre></td></tr></table><br><br>]]>
   </description>
   <pubDate>Fri, 30 Dec 2005 17:33:06 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3363&amp;PID=10375&amp;title=selecting-workweek-w-attached-datepicker#10375</guid>
  </item> 
  <item>
   <title><![CDATA[Selecting WorkWeek w/ attached DatePicker : Ah i see. I didn&amp;#039;t realise...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3363&amp;PID=10226&amp;title=selecting-workweek-w-attached-datepicker#10226</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=658">dajv</a><br /><strong>Subject:</strong> 3363<br /><strong>Posted:</strong> 15 December 2005 at 10:34pm<br /><br />Ah i see. I didn't realise it was released first of this month.]]>
   </description>
   <pubDate>Thu, 15 Dec 2005 22:34:08 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3363&amp;PID=10226&amp;title=selecting-workweek-w-attached-datepicker#10226</guid>
  </item> 
  <item>
   <title><![CDATA[Selecting WorkWeek w/ attached DatePicker : I have tried again to implement...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3363&amp;PID=10225&amp;title=selecting-workweek-w-attached-datepicker#10225</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=658">dajv</a><br /><strong>Subject:</strong> 3363<br /><strong>Posted:</strong> 15 December 2005 at 9:43pm<br /><br />I have tried again to implement this without success. It is impossible as far as I can gather. Please implement this very simple request in the DatePicker.]]>
   </description>
   <pubDate>Thu, 15 Dec 2005 21:43:53 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3363&amp;PID=10225&amp;title=selecting-workweek-w-attached-datepicker#10225</guid>
  </item> 
  <item>
   <title><![CDATA[Selecting WorkWeek w/ attached DatePicker :   dajv wrote:This doesn&amp;#039;t...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3363&amp;PID=10224&amp;title=selecting-workweek-w-attached-datepicker#10224</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=756">gshawn</a><br /><strong>Subject:</strong> 3363<br /><strong>Posted:</strong> 15 December 2005 at 7:59pm<br /><br /><P><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by dajv" alt="Originally posted by dajv" style="vertical-align: text-bottom;" /> <strong>dajv wrote:</strong><br /><br />This doesn't seem to be fixed in 9.81... is there something I need to do to implement this?</td></tr></table> </P><P>I&nbsp;think he meant it will be fixed in the next version after 9.81... He posted this after v9.81 was released.</P>]]>
   </description>
   <pubDate>Thu, 15 Dec 2005 19:59:04 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3363&amp;PID=10224&amp;title=selecting-workweek-w-attached-datepicker#10224</guid>
  </item> 
  <item>
   <title><![CDATA[Selecting WorkWeek w/ attached DatePicker : This doesn&amp;#039;t seem to be fixed...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3363&amp;PID=10223&amp;title=selecting-workweek-w-attached-datepicker#10223</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=658">dajv</a><br /><strong>Subject:</strong> 3363<br /><strong>Posted:</strong> 15 December 2005 at 5:55pm<br /><br />This doesn't seem to be fixed in 9.81... is there something I need to do to implement this?]]>
   </description>
   <pubDate>Thu, 15 Dec 2005 17:55:51 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3363&amp;PID=10223&amp;title=selecting-workweek-w-attached-datepicker#10223</guid>
  </item> 
  <item>
   <title><![CDATA[Selecting WorkWeek w/ attached DatePicker : That would be great, thanks. ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3363&amp;PID=10085&amp;title=selecting-workweek-w-attached-datepicker#10085</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=658">dajv</a><br /><strong>Subject:</strong> 3363<br /><strong>Posted:</strong> 07 December 2005 at 3:44pm<br /><br />That would be great, thanks.]]>
   </description>
   <pubDate>Wed, 07 Dec 2005 15:44:04 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3363&amp;PID=10085&amp;title=selecting-workweek-w-attached-datepicker#10085</guid>
  </item> 
  <item>
   <title><![CDATA[Selecting WorkWeek w/ attached DatePicker : Hi,  Thanks for a review and the...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3363&amp;PID=10083&amp;title=selecting-workweek-w-attached-datepicker#10083</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=862">sserge</a><br /><strong>Subject:</strong> 3363<br /><strong>Posted:</strong> 07 December 2005 at 3:43pm<br /><br />Hi,<br /><br />Thanks for a review and the suggestion. Will fix this issue for the next release.<br /><br />--<br />WBR,<br />Serge]]>
   </description>
   <pubDate>Wed, 07 Dec 2005 15:43:08 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3363&amp;PID=10083&amp;title=selecting-workweek-w-attached-datepicker#10083</guid>
  </item> 
 </channel>
</rss>