Click here to Skip to main content
15,915,019 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to disable some days in the calendar of the datatimePicker in my Windows Form application, such that users can not select those days.
It's possible to do it?
Posted

1 solution

Not something that is supported in the current datetimepicker.

You would have to do a work around such that once a date is picked you put an if statement to calculate the day and then force a repick.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900