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

Example of Work Hours in ASP.NET Core Scheduler Control

This demo showcases how to set the required working hours on Scheduler, thus visually highlighting the cells underlying the given work hour range.

DEMO
SOURCE

In this demo, the work hours are set by using the workHours property and it usually applies only on the working days defined for the Scheduler. It can either be highlighted or not by defining the highlight option within the workHours property. The working hour range can be defined by making use of the start and end option available within the workHours property.

To set discontinuous working hours on a day, then the default workHours on Scheduler needs to be disabled by setting false to highlight option within it. Then, make use of the setWorkHours method which accepts the days collection and the start & end hour values as parameters.

Transform your ASP.NET Core web apps today with Syncfusion® ASP.NET Core components
85+ high-performance and responsive UI components
Dedicated support
Hassle-free licensing
TRY IT FOR FREE
opens in a new tab