HtmlInputRadioButton Object— <input type=“radiobutton”> Element

This displays a button that can be turned on or off. Radio buttons are typically used to enable the user to select one item from a short list of fixed options. Table D.11 lists the properties of the HtmlInputRadioButton object, and Table D.12 lists the method.

Table D.11. Properties of the HtmlInputRadioButton Object
Property Description
ID Gets or sets the ID (identifier) of the HtmlInputRadioButton control.
Name Gets the value of the HTML Name attribute that is rendered to the browser and is used to group radio buttons.
Checked Gets or sets a value indicating whether the radio button has been selected (Boolean value).
Disabled Gets or sets a value that indicates whether the

Get Inside ASP.NET now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.