?
Solved

Selecting non continuous dates in a calendar control

Posted on 2005-04-02
1
Medium Priority
?
146 Views
Last Modified: 2010-04-23
I want to be able to select non continuous dates in a calendar control, is this possible in any of the standard m/s controls ? or does anyone know of a control that can be purchased (or is preferably free) that will allow me to do this.

As an indication of what I am trying to do is to allow a manager of a shop to assign staff to different days of the week in one go, without having to go into each day of the week on the calendar.

Thanks
   Steve
0
Comment
Question by:swtiley
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 14

Accepted Solution

by:
amyhxu earned 1500 total points
ID: 13689358
There's no standard control that can do this. You can create a user control for one day (the simplest form can have only a number representing the date). Then in your form place three comboboxes or listboxes to allow user select year, month and employee, as well as a panel, add as many user controls as needed for that month (31 for Jan, 28 for Feb not in a leap year , and so on). You can set a public property for user control as Selected. When user click a save button, go through each user control  and check if the flag is set to true, and save them to records.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses
Course of the Month12 days, 20 hours left to enroll

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question