New to Telerik UI for ASP.NET MVC? Download free 30-day trial

Label

If the RadioGroup is bound to an array of strings, those will be used as both value and label of the respective radio button. If the widget is bound to array of objects, the label option could be used to specify the label content.

Set the Label text

To customize the text of the label, use the label option.

    @(Html.Kendo().RadioGroup()
        .Name("radiogroup")
        .Items(i =>
        {
            i.Add().Label("First").Value("1");
            i.Add().Label("Second").Value("2");
            i.Add().Label("Third").Value("3");
        })
    )

Configure the Label Position

The labels of all radio buttons in the RadioGroup could be rendered before or after the radio buttons.

    @(Html.Kendo().RadioGroup()
        .Name("radiogroup")
        .LabelPosition("after")
        .Items(i =>
        {
            i.Add().Label("First").Value("1");
            i.Add().Label("Second").Value("2");
            i.Add().Label("Third").Value("3");
        })
    )

See Also

In this article
Not finding the help you need? Improve this article