New to Telerik UI for ASP.NET Core? Start a free 30-day trial

Kendo UI MultiViewCalendar component

Definition

Constructors

Initializes a new instance of the MultiViewCalendar class.

C#
public MultiViewCalendar(ViewContext viewContext)
Parameters:viewContextViewContext

Properties

Enables the user to select an end date that is before the start date. This option is available only when the selectable configuration is set to range.

C#
public bool? AllowReverse { get; set; }

Defines the century cell format.

C#
public CenturyCellsFormats? CenturyCellsFormat { get; set; }

Specifies the culture info used by the component. A valid kendo culture file must be added to the page in order for the example to work. <script src="https://cdn.jsdelivr.net/npm/@progress/kendo-ui@{version}/umd/cultures/kendo.culture.de-DE.min.js"&gt;&lt;/script>

C#
public string Culture { get; set; }

Specifies a list of dates, which will be passed to the month template.

C#
public DateTime[] Dates { get; set; }

Specifies the navigation depth.

C#
public CalendarView? Depth { get; set; }

DisableDates member.

C#
public IEnumerable<string> DisableDates { get; set; }

DisableDatesHandler member.

C#
public ClientHandlerDescriptor DisableDatesHandler { get; set; }

EnableFooter member.

C#
public bool EnableFooter { get; set; }

The template which renders the footer. If false, the footer will not be rendered.

C#
public string Footer { get; set; }

Gets or sets the FooterId.

C#
public string FooterId { get; set; }

Specifies the format, which is used to parse value set with value() method.

C#
public string Format { get; set; }

Specifies the maximum date, which the multiViewCalendar can show.

C#
public DateTime? Max { get; set; }

Allows localization of the strings that are used in the widget.

C#
public MultiViewCalendarMessagesSettings Messages { get; }

Specifies the minimum date, which the multiViewCalendar can show.

C#
public DateTime? Min { get; set; }
C#
public MonthTemplate MonthTemplate { get; }

Configures the Kendo UI MultiViewCalendar range settings.

C#
public MultiViewCalendarRangeSettings Range { get; }

By default user is able to select a single date. The property can also be set to "multiple" or "range". More information about multiple selection can be found in the Selection article.

C#
public string Selectable { get; set; }

Specifies which dates to be selected when the multiViewCalendar is initialized.

C#
public DateTime[] SelectDates { get; set; }

SelectionSettings member.

C#
public CalendarSelectionSettings SelectionSettings { get; }

When this configuration is enabled, the MultiViewCalendar will render days from the previous and next months in the current views.

C#
public bool? ShowOtherMonthDays { get; set; }

If set to true will render a header for every view.

C#
public bool? ShowViewHeader { get; set; }

Specifies the start view. The following settings are available for the start value: "month" - Shows the days of the month.; "year" - Shows the months of the year.; "decade" - Shows the years of the decade. or "century" - Shows the decades from the century..

C#
public CalendarView? Start { get; set; }

Specifies the selected date.

C#
public DateTime? Value { get; set; }

This property controls how many months to be shown at same time. By default it shows two months.

C#
public double? Views { get; set; }

If set to true a week of the year will be shown on the left side of the multiViewCalendar.

C#
public bool? WeekNumber { get; set; }

Methods

Serializes the component settings to a dictionary.

C#
public override IDictionary<string, object> Serialize()
Returns:

IDictionary<string, object>

A dictionary of settings.

Overrides: WidgetBase.Serialize()

SerializeSettings method.

C#
protected override Dictionary<string, object> SerializeSettings()
Returns:

Dictionary<string, object>

Overrides: WidgetBase.SerializeSettings()

VerifySettings method.

C#
public override void VerifySettings()

Overrides: WidgetBase.VerifySettings()

Writes the HTML content.

C#
protected override void WriteHtml(TextWriter writer)
Parameters:writerTextWriter

The text writer.

Overrides: WidgetBase.WriteHtml(TextWriter)

WriteInitializationScript method.

C#
public override void WriteInitializationScript(TextWriter writer)
Parameters:writerTextWriter

Overrides: WidgetBase.WriteInitializationScript(TextWriter)