DateEditRangeSettings.CalendarColumnCount Property
Gets or sets the number of months displayed in dropdown calendars of the DateEdit editors in date range mode.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
Declaration
Property Value
Type | Default | Description |
---|---|---|
Int32 | 2 | An integer value that specifies the number of displayed months. |
Property Paths
You can access this nested property as listed below:
Object Type | Path to CalendarColumnCount |
---|---|
ASPxDateEdit |
|
DateEditProperties |
|
Remarks
The ASPxDateEdit control provides the capability to select a date range.
By default, in date range mode, date editors are intended to display two months in their drop-down calendars. This behavior is defined by the CalendarColumnCount property of a date editor that displays the end date (the default value of the CalendarColumnCount property is 2).
Note
For ASP.NET MVC DateEditor.
The start date editor does not automatically apply the CalendarColumnCount property value to itself. To accomplish this task, use the following code.
You can use the CalendarColumnCount and DateEditRangeSettings.MaxDayCount properties to limit the number of days in a range.
Note
The editor’s date range settings should specified for the end-date ASPxDateEdit control. The properties specified for the start-date editor are not in effect.