System.Web.UI.HtmlControls Namespace
Allows programmatic access to the HTML <input type=radio> element on the server.
Use the HtmlInputRadioButton control to create a radio button on a Web page.
You can group HtmlInputRadioButton controls together by specifying a common value for the Name property of each radio button that you want to include in the group.
NOTE: When you group HtmlInputRadioButton controls together, only one radio button in the group can be selected at a time.
To determine whether the control is selected, use the Checked property. If you have a group of radio button controls, you need to loop through the controls and test the Checked property of each control individually.
The HtmlInputRadioButton control provides a ServerChange event that is raised when the Checked property changes values between posts to the server. This allows you to define a custom handler to perform some action each time the event is raised.
The HtmlInputRadioButton control does not automatically post back to the server when clicked. You must provide another control on the Web page that supports posting to the server, such as an HtmlButton control, to send the state of the control back to the server.
For examples illustrating use of this control, see the individual member types of this class. For syntax information, see HtmlInputRadioButton in ASP.NET Syntax for HTML Controls.
HtmlInputText HtmlInputButton HtmlInputCheckBox HtmlInputImage HtmlInputHidden HtmlInputFile