The DevExpress ASP.NET MVC Calendar extension supports the month-year picker mode. In this mode, you can specify which date component an end-user can select in the calendar: a day, a month or a year.
You can click the header to change the calendar view (fast navigation). The following settings allow you to specify the date selection and restrict the available calendar views:
Date Selection Settings
- PickerType - Specifies a date component an end user can select (a day, month or year).
Fast Navigation Settings
- FastNavProperties.InitialView - Specifies the initial Calendar view.
- FastNavProperties.MaxView - Specifies the earliest available Calendar view. For example, if the MaxView property is set to "Months", the picker displays the months of a particular year and January is the earliest available Calendar view item.
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).
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\CS\MVCxDataEditorsDemos |