New to Telerik UI for ASP.NET MVC? Download free 30-day trial

CalendarRangeSettingsBuilder

Methods

Start(System.DateTime)

Specifies the start date of the range selection.

Parameters

value - System.DateTime

The value for the start date.

Example


             @( Html.Kendo().Calendar()
                        .Name("calendar")
                        .Selectable("range")
                        .Range(range => range.Start(new DateTime(2024, 3, 3)).End(new DateTime(2024, 3, 10)))
            )

End(System.DateTime)

Specifies the end date of the range selection.

Parameters

value - System.DateTime

The value for end date.

Example


             @( Html.Kendo().Calendar()
                        .Name("calendar")
                        .Selectable("range")
                        .Range(range => range.Start(new DateTime(2024, 3, 3)).End(new DateTime(2024, 3, 10)))
            )

In this article
Not finding the help you need?