Show theme settings Shopping cart Download trialFree Trial
Change Theme Settings
Change Theme Settings
Themes
 
Show All Themes
v
...v

Custom Work Time

<
>
October 10, 2016
  • Day
  • Work Week
  • Timeline
  • Item
    ...
|<<
<<
<
>
>>
>>|
+
-
v
 

This demo illustrates the ability to specify custom work time intervals.

To accomplish this, handle the SchedulerControl.QueryWorkTime event, which provides information about the current resource and date for which the work time interval is requested and allows you to specify any work time interval you need. Additionally, you can prevent dragging appointments outside of boundaries of a work interval or resizing them by handling the client AppointmentDrag and AppointmentResizing events respectively.

To see this feature in action, toggle the Custom Work Time checkbox.

Collapse/Expand
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).
Open CS Solution
Open VB Solution
The source code files for this demo are installed (by default) in the following directories:
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\CS\ASPxSchedulerDemos
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\VB\ASPxSchedulerDemos