Add MaxDate and MinDate properties to avoid selecting dates out of range. Examples:
Avoid selecting dates in the past:
Set maximum selectable date to 1 year in the future since today:
Datepicker1.MaxDate: DateAdd( Today(), 1, Years )
Attached image shows what it would look like MinDate property 🙂
Updating status and adding @FilipK
Hello! What I would need is to, given a set of dates, disable matching dates in the picker.
I would like to also see the availability to restrict from selecting weekends and holidays.
I need to disable users from selecting an older date in the calendar. Waiting for an update on this feature.
im doin datepicker validation, i need to disable datepicker if dates selected is already been requested by user or by another employee. could anyone give a clear solution? thanks everyone
Yes to all the above. I need to prevent selecting a date in the future 🙂