A newer version of this page is available.
Switch to the current version.
ASPxDateEdit.PickerType Property
Specifies a date component an end user can select (a day, month, decade or year).
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v18.2.dll
Declaration
[DefaultValue(DatePickerType.NotSet)]
public DatePickerType PickerType { get; set; }
<DefaultValue(DatePickerType.NotSet)>
Public Property PickerType As DatePickerType
Property Value
Type | Default | Description |
---|---|---|
DatePickerType | NotSet |
One of the DatePickerType enumeration values. |
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
Online Example
How to use ASPxDateEdit in month-year picker mode to filter ASPxGridView
See Also
Feedback