• Material 3
  • Fluent
  • Bootstrap v5
  • Tailwind CSS
  • High Contrast
Preferences
Theme Selection
Theme Modes
Mode Selection
Touch
Mouse
Localization
*Translated by Google Translator.
Currency

Example of Work Days in ASP.NET MVC Scheduler Control

This demo showcases how to set customized working days as well as first day of a week on Schedule.

DEMO
SOURCE

In this demo, the working days of a week can be set on Scheduler using the WorkDays property which accepts the collection of day indexes (from 0 to 6) of a week. By default, it is set to [1, 2, 3, 4, 5] and in this demo, it has been set to [1, 3, 5] which means that Monday, Wednesday, Friday is being set as working days of a week and is visually differentiated from non-working days. The working hours usually applies only on these given working days.

The first day of the week can also be set on the Scheduler by using the FirstDayOfWeek property, which will make the Scheduler to start with that day.

Note: Here, Sunday is always denoted as 0, Monday as 1 and so on.

Transform your ASP.NET MVC web apps today with Syncfusion ASP.NET MVC components
85+ high-performance and responsive UI components
Dedicated support
Hassle-free licensing
TRY IT FOR FREE