I would like to only allow selection of Mondays, is this possible?
I have looked at Blazor DatePicker | a free UI component by Radzen
But it's not clear how to implement in Radzen.
I would like to only allow selection of Mondays, is this possible?
I have looked at Blazor DatePicker | a free UI component by Radzen
But it's not clear how to implement in Radzen.
You must use the DateRender event (@Team which is missing in the documentation). This event is thrown when a date is rendered in the calendar, meaning that you can individually manage each date.
The demo shows that you can achieve this through the Disabled property, which is a boolean value from the event arguments:
void DateRender(DateRenderEventArgs args)
{
args.Disabled = dates.Contains(args.Date);
}