Blazor DatePicker Example - Disabled Dates

DatePicker / Disabled Dates

In the following example, all the weekends (Saturday and Sunday) of a month are disabled, and these dates are restricted to set or select in the DatePicker.

Loading Syncfusion Blazor Server Demos…

Disabled Dates example demonstrates how to disable specific dates in the DatePicker by using OnRenderDayCell event. This event gets triggered on each day cell element creation, that allows you to customize, or disable specific dates in the DatePicker. Here the weekend dates are disabled by using OnRenderDayCell.

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