Skip to main content
A newer version of this page is available.
All docs
V18.2

Select Dates

  • 2 minutes to read

End-users can select either a particular date, or a range of dates by means of the DateNavigator control, or directly in Scheduler’s time cell grid. Selecting dates using the DateNavigator control results in displaying them by the SchedulerControl, to which it is linked. The behavior of these controls is similar to that of MS Outlook.

 

  • Using the DateNavigator control

    Action Effect
    Click any date in the DateNavigator calendar. One day becomes selected, and the SchedulerControl displays it using the Day View. If the currently active view is of another type, it is automatically changed to Day View. The only exception is the Work Week View. In this instance, the entire work week is selected.
    Click and drag across the DateNavigator calendar. The continuous range of dates is selected. The SchedulerControl adjusts the currently active view to display the selected range of dates. If the selection is smaller than a week, the view type is switched to Day View. A week-long range is displayed using the Scheduler’s Full Week View. If the range is more than a week, then the Month View is used.
    Hold down the CTRL key and click several dates. A set of dates is selected. The SchedulerControl displays it using the Day View, irrespective of the size of the selected range .

    Note

    To prevent end-users from selecting multiple dates, set the CalendarControlBase.Multiselect property to false.

    The selection is defined by the Selection, SelectionStart and SelectionEnd properties of the DateNavigator class.

  • Using the SchedulerControl control

    Action Effect
    Click any date in the SchedulerControl (if the currently active view is set to either the Week View or the Month View). One day is selected.
    Click and drag across the time cells (in the Week View or Month View only). A continuous range of dates is selected. The selected range in the DateNavigator control is not affected, although it goes along with the range displayed within the SchedulerControl.

The selection is defined by the SchedulerControl.SelectedInterval property of the SchedulerControl class.

Note

Only views with SchedulerViewBase.Enabled set to true are available for the scheduler to display data.