ASPxDateNavigator
- 3 minutes to read
This topic describes the ASPxDateNavigator control’s main features and its visual elements. The settings that specify the element’s visibility, content and appearance are listed below.
The following picture illustrates the DateNavigator control. The fast navigation panel, invoked by clicking the month or year within the calendar’s header is shown at the arrow’s tip.
The DateNavigator control, when dropped onto a page, should be bound to the ASPxScheduler control via its ASPxSchedulerRelatedControlBase.MasterControlID property. It is used to synchronize the time range and selected dates with the Scheduler control.
The visual appearance of the DateNavigator can be customized via the ASPxDateNavigator.Properties object. It is an instance of the DateNavigatorProperties class, derived from the CalendarProperties.
End-users can select either a particular date, or a range of dates by means of the DateNavigator control. Selecting dates using the DateNavigator control results in displaying them by the SchedulerControl, to which it is linked.
Action | Effect |
---|---|
Click any date in the Date |
One day becomes selected, and the Scheduler |
Click and drag across the Date |
The continuous range of dates is selected. The Scheduler |
Hold down the CTRL key and click several dates. | A set of dates is selected. The Scheduler |
The table below lists the main properties which affect the appearance of the DateNavigator control:
Highlighting dates | Use the Date
|
Today button | Use the Date |
Week numbers | To display or hide week numbers use the Calendar |
Highlighting weekends | The rules for highlighting the weekends are specified by the Calendar |
Highlight the current date | Use the Calendar |
Names of the days of the week | Specify full, long or short format for the days’ names via the Calendar |
Month and Year scroll buttons’ visibility | the Calendar |
Note
The Calendar