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

Kendo.Mvc.UI.RadioGroup

Kendo UI RadioGroup component

Fields

urlGenerator

The URL generator.

Properties

Enabled

Sets the enabled state of all radio buttons in the RadioGroup.

InputName

The name attribute to be used for the radio inputs. If omitted, the id of the wrapper element will be used.

Items

Array of items to be rendered as radio buttons in the RadioGroup. If the array contains objects, their fields will be used for each radio button. If the array contains strings, those will be used as both value and label of the respective radio button.

Value

The selected (checked) radio button value. Will also be used as a RadioGroup widget value.

Layout

Specifies whether the radio buttons will be rendered one below the other ("vertical") or on the same line ("horizontal").

LabelPosition

Specifies the label position according to its radio button for all items in the widget. Accepts "before" and "after".

Methods

WriteHtml(System.Web.UI.HtmlTextWriter)

Writes the HTML.

Parameters

writer System.Web.UI.HtmlTextWriter

The HtmlTextWriter.

In this article
Not finding the help you need?