# Events

You can subscribe to the `Open`, `Close`, and `Change` [DateRangePicker events](https://www.telerik.com/aspnet-mvc/documentation/api/kendo.mvc.ui.fluent/daterangepickereventbuilder) and further customize the functionality of the component.

For a complete example on basic DateRangePicker events, refer to the [demo on using the events of the DateRangePicker](https://demos.telerik.com/aspnet-mvc/daterangepicker/events).

## Handling Events by Handler Name

The following example demonstrates how to subscribe to events by a handler name.

```Razor HtmlHelper
    @(Html.Kendo().DateRangePicker()
      .Name("daterangepicker")
      .Events(e => e
            .Open("daterangepicker_open")
            .Close("daterangepicker_close")
            .Change("daterangepicker_change")
      )
    )

    <script>
    function daterangepicker_open() {
        // Handle the open event.
    }

    function daterangepicker_close() {
        // Handle the close event.
    }

    function daterangepicker_change() {
        // Handle the change event.
    }
    </script>
```

## Next Steps

* [Using the DateRangePicker Events (Demo)](https://demos.telerik.com/aspnet-core/daterangepicker/events)

## See Also

* [Using the API of the DateRangePicker for ASP.NET MVC (Demo)](https://demos.telerik.com/aspnet-mvc/daterangepicker/api)
* [DateRangePicker Server-Side API](https://www.telerik.com/aspnet-mvc/documentation/api/daterangepicker)
* [DateRangePicker Client-Side API](https://docs.telerik.com/kendo-ui/api/ui/daterangepicker)
