Name
HtmlInputRadioButton
Synopsis
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 : Inherits HtmlInputControl : Implements_ System.Web.UI.IPostBackDataHandler ' Public Constructors Public Sub New() ' Public Instance Properties Public Property Checked As Boolean Overrides Public Property Name As String Overrides Public Property Value As String ' Protected Instance Methods Overrides Protected Sub OnPreRender(ByVal e As EventArgs) Overridable Protected Sub OnServerChange( ByVal e As EventArgs) Overrides Protected Sub RenderAttributes( ByVal writer As System.Web.UI.HtmlTextWriter) ' Events Public Event ServerChange As EventHandler End Class
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)
Get ASP.NET in a Nutshell 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.