HtmlHelper.RadioButton Method

Include Protected Members
Include Inherited Members

Returns an HTML radio button control for use in a web page.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method RadioButton(String, Object) Returns an HTML radio button control that has the specified name and value.
Public method RadioButton(String, Object, Boolean) Returns an HTML radio button control that has the specified name, value, and default selected status.
Public method RadioButton(String, Object, IDictionary<String, Object>) Returns an HTML radio button control that has the specified name, value, and custom attributes defined by an attribute dictionary.
Public method RadioButton(String, Object, Object) Returns an HTML radio button control that has the specified name, value, and custom attributes defined by an attribute object.
Public method RadioButton(String, Object, Boolean, IDictionary<String, Object>) Returns an HTML radio button control that has the specified name, value, default selected status, and custom attributes defined by an attribute dictionary.
Public method RadioButton(String, Object, Boolean, Object) Returns an HTML radio button control that has the specified name, value, default selected status, and custom attributes defined by an attribute object.

Top

Remarks

The HTML radio button control is returned as HTML markup that can be used to render the control in a web page.

See Also

Reference

HtmlHelper Class

System.Web.WebPages.Html Namespace