# Reverse Selection

Starting with Telerik UI for ASP.NET Core R2 2024, the Calendar provides an [`AllowReverse()`](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/calendarbuilder#allowreversesystemboolean) selection. It lets you pick an end date, which is before the selected start date when the [`Selectable()`](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/calendarbuilder#selectablesystemstring) option is set to `range`. This enables you to perform the selection in a bidirectional manner and dictate the selection behavior explicitly.

```Razor HtmlHelper
    @(Html.Kendo().Calendar()
            .Name("calendar")
            .ShowOtherMonthDays(false)
            .Selectable("range")
            .AllowReverse(true)
    )
```

```Razor TagHelper
    <kendo-calendar name="calendar"
                    show-other-month-days="false"
                    selectable="range"
                    allow-reverse="true">
    </kendo-calendar>
```

> When configuring range selection, set the [`ShowOtherMonthDays()`](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/calendarbuilder#showothermonthdayssystemboolean) configuration to `false`.

## See Also

* [Reverse Selection Demo of the Calendar](https://demos.telerik.com/aspnet-core/calendar/reverse-selection)
* [Server-Side API of the Calendar](https://www.telerik.com/aspnet-core-ui/documentation/api/calendar)
