Can we have any Blackout dates using JQuery UI Datepicker plugin on ASP.NET MVC Page?


Can we have any Blackout dates using JQuery UI Datepicker plugin on ASP.NET MVC Page?



I am wondering if we can have block any specific dates from Jquery UI DatePicker?

For Example, if we want to block all dates till tomorrow, we specify as below.

 $("#UsageDate").datepicker({ minDate: +1 }); 

Similarly, I want to block Weekends and few official days from my Holidays Schedule(For example, May 31, Nov 27th and Dec 25th).

Thanks


MVC & EF - using

1:

Style list of divs as 2 column layout with cssgood/simple asp.net mvc application with fluent nhibernate

92 out of 100 based on 67 user ratings 742 reviews