Navigate through Dates
- 3 minutes to read
When the DateNavigator control is placed onto the form at design time, its DateNavigator.SchedulerControl property is automatically set to the available SchedulerControl. When two controls are bound this way, an end-user is able to pick a date within the date navigator, and see this date's appointments displayed by the SchedulerControl.
End-users can navigate to the desired month and year by clicking the corresponding arrows on the DateNavigator date header. Clicking the left and right scrolling buttons navigates back and forth by one step. Clicking the Today button selects the current date.
When an end-user clicks the DateNavigator control, one day is selected, and the SchedulerControl displays it using the Day View. Note that if the currently active view of the SchedulerControl is of another type, then it is automatically changed to the Day View. The only exception is the Work Week View. When the scheduler is showing its data using the Work Week View, an attempt to select one day by DateNavigator selects the entire work week.
The scheduler synchronizes itself with the date navigator. So, when a week long range of dates is selected in a date navigator, the scheduler switches to Week View. If a end-user selects more than one week, then a Month View is chosen automatically which improves the visual appearance.
For more information on how to select date ranges, see the Select Dates document.
Right-clicking within the scheduler main area which is not occupied with an appointment invokes the context menu which contains items for navigation through dates. They are: Go to This Day, Go to Today, Go to Date....
Go to This Day
Go to Today
Moves focus to the current day preserving the existing view mode.
Go to Date...
Invokes the Go To Date dialog to select the date and view type. The date can be selected using either the calendar control, or by entering a string with the placeholders. To select the desired view type, use the Show In drop-down list.
Bar or Ribbon UI
If a scheduling application is provided with the Bar and Ribbon UI, end-users can navigate through dates within a scheduler using the Backward, Forward and Go to Today buttons on the Navigate toolbar or Ribbon page group.
|Navigate through dates via Bar UI||Navigate through dates via Ribbon UI|