Name
RadioButton
Synopsis
This class represents a radio button control that allows a user to select one item
from a selection of options. Each option in a group of radio buttons is a distinct RadioButton
object, but each control shares the same GroupName
. To determine whether a
radio button has been selected, examine the Checked
property. If you
want to use a radio button with list data, the CheckBoxList
control may be more
convenient.
Public Class RadioButton : Inherits CheckBox ' Public Constructors Public Sub New() ' Public Instance Properties Overridable Public Property GroupName As String ' Protected Instance Methods Overrides Protected Sub OnPreRender(ByVal e As EventArgs) End Class
Hierarchy
System.Object→ System.Web.UI.Control(System.ComponentModel.IComponent
, System.IDisposable
, System.Web.UI.IParserAccessor
, System.Web.UI.IDataBindingsAccessor)→WebControl(System.Web.UI.IAttributeAccessor)→CheckBox(System.Web.UI.IPostBackDataHandler)→ RadioButton
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.