DateTime Picker / Disabled Dates

Blazor DateTimePicker Example - Disabled Dates

Loading Syncfusion Blazor Server Demos…

This sample demonstrates disabled dates functionality in the DateTimePicker 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 DateTimePicker using the OnRenderDayCell event. This event triggers on each day cell element creation, allowing customization or disabling of 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