A newer version of this page is available. Switch to the current version.

Calendar Section

  • 2 minutes to read

A Calendar section is displayed within the ASPxDateEdit drop-down window, and contains an embedded calendar control. You can access the calendar settings via the ASPxDateEdit.CalendarProperties property.

The Calendar section is always visible in the drop-down window. You can also enable the Time Section. Clicking the current month and year in a calendar header displays the fast navigation window.

ASPxDateEdit_CalendarSection

The table below lists the main properties that affect calendar elements.

Visual element Members
Clear Button CalendarProperties.ShowClearButton, CalendarProperties.ClearButtonText, CalendarProperties.ButtonStyle
Day Headers CalendarProperties.ShowDayHeaders, CalendarProperties.DayNameFormat, CalendarProperties.DayHeaderStyle
Footer CalendarProperties.FooterStyle
Header CalendarProperties.ShowHeader, CalendarProperties.HeaderStyle
Month Navigation Buttons CalendarProperties.EnableMonthNavigation, CalendarProperties.NextMonthImage, CalendarProperties.PrevMonthImage
Today CalendarProperties.TodayStyle
Today Button CalendarProperties.ShowTodayButton, CalendarProperties.TodayButtonText, CalendarProperties.ButtonStyle
Week Numbers CalendarProperties.ShowWeekNumbers
Year Navigation Buttons CalendarProperties.EnableYearNavigation, CalendarProperties.NextYearImage, CalendarProperties.PrevYearImage

Keyboard Support

Key Combination Action (when no date is selected) Action (when a date is selected)
LEFT ARROW Selects the current day Moves selection to the previous day
RIGHT ARROW Selects the current day Moves selection to the next day
UP ARROW Selects the current day Moves selection one week back
DOWN ARROW Selects the current day Moves selection one week forward
PAGE UP Selects the current day Moves selection one month back
PAGE DOWN Selects the current day Moves selection one month forward
END Selects the last day of the current month Moves selection to the last day of the month
HOME Selects the first day of the current month Moves selection to the first day of the month
ENTER Applies changes Applies changes
ESC Cancels changes and closes the calendar Cancels changes and closes the calendar
See Also