# Events

This article explains the events available in the Telerik RadioGroup for Blazor:

* [OnChange](https://www.telerik.com/blazor-ui/documentation/components/radiogroup/events#onchange)
* [ValueChanged](https://www.telerik.com/blazor-ui/documentation/components/radiogroup/events#valuechanged)
* [OnBlur](https://www.telerik.com/blazor-ui/documentation/components/radiogroup/events#onblur)

The examples in this article use `string` values and simple data sources for brevity. You can use full models, see the [data binding](https://www.telerik.com/blazor-ui/documentation/components/radiogroup/data-bind) article for more details.

## OnChange

The `OnChange` event represents a user action - confirmation of the current value. In inputs, it fires when the user presses `Enter` in the input, or when the input loses focus. In the RadioGroup, it fires when the user selects an item because there is no other action.

> tip The `OnChange` event is a custom event and does not interfere with bindings, so you can use it together with models and forms.

> caption Handle the OnChange event and use two-way binding

<demo metaUrl="client/radiogroup/events/example-3/" height="350"></demo>

> tip The event is an `EventCallback`. It can be synchronous and return `void`, or asynchronous and return `async Task`. Do not use `async void`.

## ValueChanged

The `ValueChanged` event fires upon every change of the user selection.

The example below uses [binding](https://www.telerik.com/blazor-ui/documentation/components/radiogroup/data-bind) to string data for brevity. You can use a model class as well.

> caption Handle ValueChanged

<demo metaUrl="client/radiogroup/events/example-2/" height="350"></demo>

> tip The event is an `EventCallback`. It can be synchronous and return `void`, or asynchronous and return `async Task`. Do not use `async void`.

> note The lambda expression in the handler is required by the framework: <https://github.com/aspnet/AspNetCore/issues/12226>.

## OnBlur

The `OnBlur` event fires when an element inside the component loses focus (radio button or the entire component).

> caption Handle the OnBlur event

<demo metaUrl="client/radiogroup/events/example-1/" height="350"></demo>

## See Also

* [ValueChanged and Validation](https://www.telerik.com/blazor-ui/documentation/knowledge-base/value-changed-validation-model)
