New to Telerik UI for ASP.NET Core? Download free 30-day trial

Change Working Days

Loading Demo...
  • EXAMPLE
  • VIEW SOURCE
  • Edit in Theme Builder
  • change_working_days.cshtml
  • Change_Working_DaysController.cs

Also available for:

API REFERENCE

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.

Support & Learning Resources