I want to disable futuer date. I use the following code
dateTimePicker1.MaxDate = DateTime.Now;
The problem is the futue date is not grayed out. I want to get future date as greyed out picker as shown in the pic
Thanks,
Talha
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Rafnas T PRank #280 · 8.8K reputationPosted May 18, 2017, 10:22 PM EDT