Disable some dates in DateTimePicker control in Windows Forms (WinForms) application using C# and VB.Net

Last Reply on Sep 30, 2015 10:05 AM By Shashikant

Posted on Sep 29, 2015 06:55 AM

I need to disable some dates into DateTimePicker, is it possible? For example, I have a dates range: { 03/10/2015, 06/10/2015, 07/10/2015, 15/10/2015, 24/10/2015 } I need to disable the midle one or in others situations the last one, can anybody help me?

The dateTimePicker1.MainDate and dateTimePicker1.MaxDate is not enough.

Thank you.

Posted on Sep 30, 2015 10:05 AM