• 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 Hours in ASP.NET MVC Scheduler Control

This demo showcases how to set the required working hours on Schedule, 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 Schedule. It can either be highlighted or not by defining the Highlight option within the WorkHours property. The working hour range can be defined by using 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, use the setWorkHours method which accepts the days collection and the start & end hour values as parameters.

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