Click here to Skip to main content
15,894,646 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I Have a problem with my project ,

I have to disable some date element in my datepicker ,

What I have tried:

How can i solve this?

can anyone please help me?
Posted
Updated 24-Jun-20 20:09pm
Comments
F-ES Sitecore 24-Jun-20 2:25am    
What date picker?

I didn't understand exactly what you're looking for. See if this article helps you.

DateTimePicker Class (System.Windows.Forms) | Microsoft Docs[^]
 
Share this answer
 
If you speak about the DateTimePicker the Control don't allow you directly to do that.
The only way could be to do some customizing outside or inside the Control itself.
Perhaps you take a look to this question and it's Solutions :
https://www.codeproject.com/Questions/5271839/Restrict-users-from-selecting-time-outside-of-busi
 
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