Rajkiran Swain

Rajkiran Swain

  • 28
  • 40.7k
  • 3.4m

Disable specific date in SharePoint calendar control

Aug 16 2020 11:44 AM
 I have a Visual WebPart where I am using SharePoint calendar control. I have a requirement to disable specific date in calendar which user can't select. I have tried many ways but no luck. Can anyone help me please.
 
<SharePoint:DateTimeControl ID="dtDateTimeControl" runat="server" DateOnly="true" />
 
I have list of dates in a array which I want to disable in the calendar .
 
20/08/2020
21/08/2020
22/08/2020
23/08/2020
24/08/2020

Answers (2)