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