CalendarFastNavProperties.InitialView Property
In This Article
Specifies the initial Calendar view.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
#Property Value
Type | Default | Description |
---|---|---|
Date |
Not |
One of the Date |
Available values:
Name | Description |
---|---|
Not |
The date picker type is not set. In this case:
|
Days | An end user can select a day in the calendar. |
Months | An end user selects a month in the calendar. |
Years | An end user selects a year in the calendar. |
Decades | An end user selects a decade in the calendar. |
#Remarks
The ASPxDateEdit supports month-year picker mode. In this mode, you can specify which date component an end-user can select in the control.
<dx:ASPxDateEdit runat="server" ID="dateEdit2" PickerType="Months">
<CalendarProperties>
<FastNavProperties InitialView="Years" MaxView="Years" />
</CalendarProperties>
</dx:ASPxDateEdit>
#Online Demo
See Also