BoldDeskHelp desk software offering ticketing, live chat, and omnichannel support, starting at $49/mo. for 10 agents. Try it for free.
<EjsDatePicker TValue="DateTime?" ID="date">
<DatePickerEvents TValue="DateTime?" OnRenderDayCell="@DisableSundays"></DatePickerEvents>
</EjsDatePicker>
@code {
public void DisableSundays(RenderDayCellEventArgs args) {
if ((int)args.Date.DayOfWeek == 0) {
args.IsDisabled = true;
}
}
} |