jdink22 Posted June 20, 2003 Posted June 20, 2003 Is there a way to limit the dates a user can select from a date/time picker? Or is there a good way to populate a dropdown list of dates they can pick from? The background is that I am constructing a timesheet of sorts and want them to only be able to pick from the 1st or 16th of every month (as those dates coincide with the beginning of a new time period) so that i can generate a table for the 15 days following the date they pick. Which actually brings up another issue - if they pick the 16th, how can i account for months with 31 days without having the 16th date generated be the 1st of the next month? Thanks in advance for any help!! Quote
Moderators Robby Posted June 20, 2003 Moderators Posted June 20, 2003 I'm guessing that you're using Win Forms. I don't think that you can display a partial month in the calendar. However, when the user clicks on a date outside your range then either discard it or alert them. Quote Visit...Bassic Software
jdink22 Posted July 7, 2003 Author Posted July 7, 2003 Thanks - i found a creative work around! *****RESOLVED***** Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.