# RadioGroup

## Example

```
<kendo-radiogroup>
    <kendo-radiogroup-items></kendo-radiogroup-items>
</kendo-radiogroup>
```

## ChildTags

| Tag Name               | Details                                                                                                                            |
| ---------------------- | ---------------------------------------------------------------------------------------------------------------------------------- |
| kendo-radiogroup-items | [RadioGroupItemsTagHelper](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.taghelpers/radiogroupitemstaghelper) |

## Attributes

| Attribute             | Type                                                                                                                     | Description                                                                                                                                                                                               |
| --------------------- | ------------------------------------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| name                  | String                                                                                                                   | Sets the name of the component.                                                                                                                                                                           |
| bind-to               | IList<[IInputGroupItem](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/iinputgroupitem)>          | Defines an array of configuration objects to be rendered as radio button.                                                                                                                                 |
| enabled               | Boolean                                                                                                                  | Sets the enabled state of all radio buttons in the RadioGroup.                                                                                                                                            |
| for                   | ModelExpression                                                                                                          | An expression to be evaluated against the current model.                                                                                                                                                  |
| input-name            | String                                                                                                                   | The name attribute to be used for the radio inputs. If omitted, the id of the wrapper element will be used.                                                                                               |
| input-size            | [ComponentSize](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/componentsize)                     | Sets a value controlling the size of the input.                                                                                                                                                           |
| label-position        | [RadioGroupLabelPosition](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/radiogrouplabelposition) | Specifies the label position according to its radio button for all items in the widget. Accepts "before" and "after".                                                                                     |
| layout                | [RadioGroupLayout](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/radiogrouplayout)               | Specifies whether the radio buttons will be rendered one below the other ("vertical") or on the same line ("horizontal").                                                                                 |
| on-change             | String                                                                                                                   | The name of the JavaScript function that will handle the change event. Fires when the selected radio input in the RadioGroup is changed through user interaction.                                         |
| on-focus              | String                                                                                                                   | The name of the JavaScript function that will handle the focus event. Fires when a radio input in the RadioGroup is focused through user interaction.                                                     |
| on-select             | String                                                                                                                   | The name of the JavaScript function that will handle the select event. Fires when a radio input is clicked to be selected through user interaction. If prevented, the clicked input will not be selected. |
| script-attributes     | IDictionary\<String,Object>                                                                                              | Sets the attributes that will be added to the script tag of the component's initialization script.                                                                                                        |
| value                 | String                                                                                                                   | The selected (checked) radio button value. Will also be used as a RadioGroup widget value.                                                                                                                |
| is-in-client-template | Boolean                                                                                                                  | When placing a Tag Helper within a Kendo Template, set the type to text/html and add the is-in-client-template="true" attribute.                                                                          |
| deferred              | Boolean                                                                                                                  | Suppress initialization script rendering. Note that this options should be used in conjunction with DeferredScripts method.                                                                               |
| as-module             | Boolean                                                                                                                  | Specifies whether the initialization script of the component will be rendered as a JavaScript module.                                                                                                     |
