R2 2018 Release is here – now with modern UI for chatbots and more! See what’s new!
Change Theme

SASS Themes

LESS Themes

SASS Theme Builder

Create new or customize SASS themes
Launch Theme Builder
Edit in Theme Builder

Change Working Days

Description

You can change the working days of the week by using the WorkDays method.

The days to set are index based and the WorkDays method accepts an int[] as argument.

In this example new int[] { 1,3,4 } sets Monday, Wednesday and Thursday as working days of the week.

You can set the WorkDays method to the Scheduler to set the working days for all Views. Or you can set it through the configuration of an individual View.

ASP.NET Core source

Also available for:

  • change_working_days.cshtml
  • Change_Working_DaysController.cs

Support & learning resources

Scheduler for other technologies