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

Active View Change

v
<
>
October 9 – 15, 2016
  • Day
  • Work Week
  • Full Week
  • Month
  • Timeline
  • Agenda
|<<
<<
<
>
>>
>>|
v
Lincoln Bartlett (Therapy)
Amelia Harper (Therapy)
10/910/1010/1110/1210/1310/1410/1510/910/1010/1110/1210/1310/1410/15
              
700
 
800
 
900
 
1000
 
1100
 
12PM
 
100
 
200
 
300
 
400
 
500
 
600
 
700
 
800
Andrew Glover (Hospital)
Contact info: (65) 965-4016
Mark Oliver (Hospital)
Contact info: (46) 683-6484
Taylor Riley (Home)
Contact info: (41) 671-9633
Recurrence
Follow-up Medical Checkup
Brad Farkus (Home)
Contact info: (23) 483-9348
Bart Arnaz (Phone Consultation)
Contact info: (11) 211-4115
Arnie Schwartz (Hospital)
Contact info: (65) 353-4435
John Heart (Home)
Contact info: (67) 501-2739
Arthur Miller (Hospital)
Contact info: (83) 808-5146
Robert Reagan (Hospital)
Contact info: (97) 108-9815
Recurrence
Follow-up Medical Checkup
Recurrence
Follow-up Medical Checkup
Addison Davis (Hospital)
Contact info: (92) 491-6541
Benjamin Hughes (Phone Consultation)
Contact info: (28) 887-8313
Lucas Smith (Home)
Contact info: (25) 881-5071
Billy Zimmer (Hospital)
Contact info: (17) 668-6166
Samantha Piper (Hospital)
Contact info: (66) 115-7496
Recurrence
Follow-up Medical Checkup
Maggie Boxter (Home)
Contact info: (31) 896-2990
Ed Holmes (Home)
Contact info: (98) 629-6494
Sammy Hill (Phone Consultation)
Contact info: (72) 799-4400
Olivia Peyton (Home)
Contact info: (16) 164-7821
Recurrence
Follow-up Medical Checkup
 
New Appointment
Did this demo address your needs?
If you’d like us to extend this demo further, please describe your needs below.
Thank you in advance for your cooperation.
SEND FEEDBACK

This demo illustrates how to take advantage of the ASPxScheduler client-side scripting when switching active views.

In this demo, you’re able to switch an active view by selecting it in the combo box. To perform this, the code uses the ASPxScheduler client-side API.

When a view type is selected in the drop-down list, the SetActiveViewType client-side method is called to change the active view.

Two client-side events are handled when the active view type is being modified. The ActiveViewChanging event handler asks the user for a confirmation of changing the scheduler’s view type, and if the answer is negative, cancels the operation. After the active view type is changed, the ActiveViewChanged event occurs. It uses the GetActiveViewType client-side method to indicate the currently active view for updating the combo box content.

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
Multi-Use Site Controls