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.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Rafnas T PPosted May 19, 2017, 2:22 AM