System.Web.UI.WebControls.RadioButton.GroupName Property

Gets or sets the name of the group that the radio button belongs to.

Syntax

[System.Web.UI.Themeable(false)]
[System.ComponentModel.DefaultValue("")]
public virtual string GroupName { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

Use the RadioButton.GroupName property to specify a grouping of radio buttons to create a mutually exclusive set of controls. You can use the RadioButton.GroupName property when only one selection is possible from a list of available options.

When this property is set, only one System.Web.UI.WebControls.RadioButton in the specified group can be selected at a time.

The value of this property is stored in view state.

This property cannot be set by themes or style sheet themes. For more information, see System.Web.UI.ThemeableAttribute and ASP.NET Themes Overview.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0