Skip to main content

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.v23.2.dll

NuGet Package: DevExpress.Web


public int CalendarColumnCount { get; set; }

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
.DateRangeSettings .CalendarColumnCount
.DateRangeSettings .CalendarColumnCount


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).


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.

    settings => {
        settings.Name = "dateEditRangeStart";
        settings.Properties.CalendarProperties.Columns = 2;

You can use the CalendarColumnCount and DateEditRangeSettings.MaxDayCount properties to limit the number of days in a range.


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.

See Also