Date Picker Disable Current Date plus 5 working days (Sat and Sunday) not included

I want to disable current date plus 5 working days in Date Picker but the computation to disable includes weekends

what should I do?

Thanks for the help

mvp_badge
MVP

Hi Justin,


You need to create a local variable as  DateTime list  type and bind with DisableDayList Property.

After that add your logic OnInitilize event like you need to skip weekends in this list.


Regards

Rahul

Question again

after i put it on disable day list.. the Computation for Add days will be the same?


Thank you

Can you give an example?

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.