HtmlInputRadioButton.Name Property
.NET Framework 3.0
Gets or sets the name of the group that the instance of the HtmlInputRadioButton class is associated with.
Namespace: System.Web.UI.HtmlControls
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
public: virtual property String^ Name { String^ get () override; void set (String^ value) override; }
/** @property */ public String get_Name () /** @property */ public void set_Name (String value)
public override function get Name () : String public override function set Name (value : String)
Not applicable.
Property Value
The group of check box controls that the instance of the HtmlInputRadioButton class is a member of.Group multiple HtmlInputRadioButton controls by specifying a common value for the Name property of each radio button you want to include in the group. When you group HtmlInputRadioButton controls, only one radio button in the group can be selected at a time. The Checked property of the selected control is set to true, while the same property is set to false for all other radio buttons in the group.
Community Additions
ADD
Show: