HtmlInputRadioButton | disposable |
System.Web.UI.HtmlControls (system.web.dll) | class |
This class represents the HTML <input
type=radio> tag. The Checked property
indicates whether the radio button is selected. If you set the
Name property of more than one radio button to the
same value, you form a group that allows only one option to be
selected at a time. Note that this control does not have any
associated text.
public class HtmlInputRadioButton : HtmlInputControl, System.Web.UI.IPostBackDataHandler {
// Public Constructors
public HtmlInputRadioButton( );
// Public Instance Properties
public bool Checked{set; get; }
public override string Name{set; get; } // overrides HtmlInputControl
public override string Value{set; get; } // overrides HtmlInputControl
// Protected Instance Methods
protected override void OnPreRender(EventArgs e); // overrides System.Web.UI.Control
protected virtual void OnServerChange(EventArgs e);
protected override void RenderAttributes(System.Web.UI.HtmlTextWriter writer); // overrides HtmlInputControl
// Events
public event EventHandler ServerChange;
}
Hierarchy
System.Object
System.Web.UI.Control(System.ComponentModel.IComponent,
System.IDisposable,
System.Web.UI.IParserAccessor,
System.Web.UI.IDataBindingsAccessor)
HtmlControl(System.Web.UI.IAttributeAccessor)
HtmlInputControl
HtmlInputRadioButton(System.Web.UI.IPostBackDataHandler)
|