All Demos / Calendar / Disabled Dates

Blazor Calendar Example - Disabled Dates

Loading Syncfusion Blazor Server Demos…
This demo passes automated axe checks with 0 violations — semantic markup, ARIA, full keyboard operation, visible focus. Section 508 conformant Accessibility report VPAT
November 2026
SMTWTFS
1234567
891011121314
15161718192021
22232425262728
293012345
6789101112
Selected date is: 11/1/2026

This sample demonstrates disabled dates functionality in the Calendar. All weekends (Saturday and Sunday) of a month are disabled and restricted from selection.

The Disabled Dates example shows how to disable specific dates in the Calendar using the OnRenderDayCell event. This event triggers on each day cell element creation, allowing you to customize or disable specific dates.

In this example, weekend dates are disabled using the OnRenderDayCell event by adding appropriate CSS classes to restrict selection.