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
October 2026
SMTWTFS
27282930123
45678910
11121314151617
18192021222324
25262728293031
1234567
Selected date is: 10/2/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.