Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
151366 | Feb 8,2020 02:40 AM UTC | Jun 16,2020 10:59 AM UTC | Blazor | 3 |
![]() |
Tags: DatePicker |
<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;
}
}
} |
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.