RadioGroupTagHelper

Example

Razor
<kendo-radiogroup>
    <kendo-radiogroup-items></kendo-radiogroup-items>
</kendo-radiogroup>

ChildTags

Tag NameDetails
kendo-radiogroup-itemsRadioGroupItemsTagHelper

Attributes

AttributeTypeDescription
nameStringSets the name of the component.
bind-toIList<IInputGroupItem>Defines an array of configuration objects to be rendered as radio button.
forModelExpressionAn expression to be evaluated against the current model.
deferredBooleanSuppress initialization script rendering. Note that this options should be used in conjunction with DeferredScripts method.
is-in-client-templateBooleanWhen placing a Tag Helper within a Kendo Template, set the type to text/html and add the is-in-client-template="true" attribute.
as-moduleBoolean
enabledBooleanSets the enabled state of all radio buttons in the RadioGroup.
has-client-componentBoolean
input-nameStringThe name attribute to be used for the radio inputs. If omitted, the id of the wrapper element will be used.
input-sizeComponentSizeSets a value controlling the size of the input.
label-positionRadioGroupLabelPositionSpecifies the label position according to its radio button for all items in the widget. Accepts "before" and "after".
layoutRadioGroupLayoutSpecifies whether the radio buttons will be rendered one below the other ("vertical") or on the same line ("horizontal").
on-changeStringFires when the selected radio input in the RadioGroup is changed through user interaction.
on-focusStringFires when a radio input in the RadioGroup is focused through user interaction.
on-selectStringFires when a radio input is clicked to be selected through user interaction. If prevented, the clicked input will not be selected.
sanitize-idBoolean
script-attributesIDictionary<String,Object>
valueStringThe selected (checked) radio button value. Will also be used as a RadioGroup widget value.
In this article
ExampleChildTagsAttributes
Not finding the help you need?
Contact Support