New to Telerik UI for ASP.NET Core? Start a free 30-day trial
Reverse Selection
Starting with Telerik UI for ASP.NET Core R2 2024, the Calendar provides an AllowReverse()
selection. It lets you pick an end date, which is before the selected start date when the Selectable()
option is set to range
. This enables you to perform the selection in a bidirectional manner and dictate the selection behavior explicitly.
Razor
@(Html.Kendo().Calendar()
.Name("calendar")
.ShowOtherMonthDays(false)
.Selectable("range")
.AllowReverse(true)
)
When configuring range selection, set the
ShowOtherMonthDays()
configuration tofalse
.