# Events

The Telerik UI for ASP.NET MVC RadioGroup exposes multiple [events](https://www.telerik.com/aspnet-mvc/documentation/api/kendo.mvc.ui.fluent/radiogroupeventbuilder) that allow you to control and customize the behavior of the UI component.

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

## Handling by Handler Name

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

```Razor HtmlHelper
    @(Html.Kendo().RadioGroup()
        .Name("radiogroup")
        .Items(i =>
        {
            i.Add().Label("Two bedroom apartment for multiple people").Value("1");
            i.Add().Label("Studio apartment with kitchen").Value("2");
            i.Add().Label("Double bed apartment with kids zone").Value("3");
        })
        .Value("2")
        .Events(e => e.Change("onChange"))
    )
```

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

## Handling by Template Delegate

The following example demonstrates how to subscribe to events by using a template delegate.

```Razor HtmlHelper
    @(Html.Kendo().RadioGroup()
        .Name("radiogroup")
        .Events(e => e
            .Change(@<text>
                function() {
                    // Handle the change event inline.
                }
            </text>)
        )
    )
```

## Next Steps

* [Using the RadioGroup Events (Demo)](https://demos.telerik.com/aspnet-mvc/radioGroup/events)

## See Also

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