This demo illustrates the DevExpress MVC Scheduler capability to specify custom work time intervals. To see this feature in action, toggle the Custom Work Time checkbox and observe that different days of week have different work time intervals indicated by color shading.
The technique utilizes the QueryWorkTime event handler. It allows you to get information about the current resource and date for which the work time interval is requested and specify work time as required.
Note: The Scheduler is in read-only mode. You cannot modify appointments, delete them or create new appointments.
Local Copy of this Demo
To inspect the source code for this demo on your machine, you must first install our components via the DevExpress Component Installer.
You can open a local copy of this online demo directly from this webpage (if using v20.2.8, 21.1.4 or higher).
The source code files for this demo are installed (by default) in the following directory:
Open CS Solution
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\CS\MVCxSchedulerDemos