summaryM:DotNetNuke.Web.Mvc.Helpers.HtmlInputExtensions.RadioButton(DotNetNuke.Web.Mvc.Helpers.DnnHtmlHelper,System.String,System.Object,System.Boolean,System.Collections.Generic.IDictionary{System.String,System.Object})

Namespace: DotNetNuke.Web.Mvc.Helpers
Assembly: DotNetNuke.Web.Mvc (in DotNetNuke.Web.Mvc.dll)

Syntax

C#
public static MvcHtmlString RadioButton(
	this DnnHtmlHelper html,
	string name,
	Object value,
	bool isChecked,
	IDictionary<string, Object> htmlAttributes
)
Visual Basic
<ExtensionAttribute> 
Public Shared Function RadioButton ( 
	html As DnnHtmlHelper,
	name As String,
	value As Object,
	isChecked As Boolean,
	htmlAttributes As IDictionary(Of String, Object)
) As MvcHtmlString

Parameters

html
Type: DotNetNuke.Web.Mvc.Helpers..::..DnnHtmlHelper
paramhtmlM:DotNetNuke.Web.Mvc.Helpers.HtmlInputExtensions.RadioButton(DotNetNuke.Web.Mvc.Helpers.DnnHtmlHelper,System.String,System.Object,System.Boolean,System.Collections.Generic.IDictionary{System.String,System.Object})
name
Type: System..::..String
paramnameM:DotNetNuke.Web.Mvc.Helpers.HtmlInputExtensions.RadioButton(DotNetNuke.Web.Mvc.Helpers.DnnHtmlHelper,System.String,System.Object,System.Boolean,System.Collections.Generic.IDictionary{System.String,System.Object})
value
Type: System..::..Object
paramvalueM:DotNetNuke.Web.Mvc.Helpers.HtmlInputExtensions.RadioButton(DotNetNuke.Web.Mvc.Helpers.DnnHtmlHelper,System.String,System.Object,System.Boolean,System.Collections.Generic.IDictionary{System.String,System.Object})
isChecked
Type: System..::..Boolean
paramisCheckedM:DotNetNuke.Web.Mvc.Helpers.HtmlInputExtensions.RadioButton(DotNetNuke.Web.Mvc.Helpers.DnnHtmlHelper,System.String,System.Object,System.Boolean,System.Collections.Generic.IDictionary{System.String,System.Object})
htmlAttributes
Type: System.Collections.Generic..::..IDictionary<(Of <(<'String, Object>)>)>
paramhtmlAttributesM:DotNetNuke.Web.Mvc.Helpers.HtmlInputExtensions.RadioButton(DotNetNuke.Web.Mvc.Helpers.DnnHtmlHelper,System.String,System.Object,System.Boolean,System.Collections.Generic.IDictionary{System.String,System.Object})

Return Value

returnsM:DotNetNuke.Web.Mvc.Helpers.HtmlInputExtensions.RadioButton(DotNetNuke.Web.Mvc.Helpers.DnnHtmlHelper,System.String,System.Object,System.Boolean,System.Collections.Generic.IDictionary{System.String,System.Object})

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type DnnHtmlHelper. When you use instance method syntax to call this method, omit the first parameter. For more information, see [b8020aae-374d-46a9-bcb7-8cc2390b93b6] or [175ce3ff-9bbf-4e64-8421-faeb81a0bb51].

See Also