DatePicker / Disabled Dates

Blazor DatePicker Example - Disabled Dates

Loading Syncfusion Blazor Server Demos…

This sample demonstrates disabled dates functionality in the DatePicker component. 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 DatePicker 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.

Transform your Blazor web apps today with Syncfusion® Blazor components
145+ high-performance and responsive UI components
Dedicated support
Hassle-free licensing
TRY IT FOR FREE