Easy Tutorial
❮ Prop Webcontrol Listitem Text Prop Webcontrol Tablecell Text ❯

ASP.NET RadioButton Control



Definition and Usage

The RadioButton control is used to display a radio button.

Tip: To create a series of radio buttons that use data binding, use the RadioButtonList control!


Properties

Property Description
AutoPostBack Boolean value that specifies whether the form is immediately posted back after the Checked property is changed. Default is false.
Checked Boolean value that specifies whether the radio button is selected.
id The unique ID of the control.
GroupName The name of the control group to which this radio button belongs.
OnCheckedChanged The name of the function to be executed when the Checked property is changed.
runat Specifies that the control is a server control. Must be set to "server".
Text The text next to the radio button.
TextAlign Specifies on which side of the radio button the text should appear (left or right).

Example

Radiobutton


❮ Prop Webcontrol Listitem Text Prop Webcontrol Tablecell Text ❯