HtmlHelper.Hidden Method

Include Protected Members
Include Inherited Members

Returns an HTML hidden 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 Hidden(String) Returns an HTML hidden control that has the specified name.
Public method Hidden(String, Object) Returns an HTML hidden control that has the specified name and value.
Public method Hidden(String, Object, IDictionary<String, Object>) Returns an HTML hidden control that has the specified name, value, and custom attributes defined by an attribute dictionary.
Public method Hidden(String, Object, Object) Returns an HTML hidden control that has the specified name, value, and custom attributes defined by an attribute object.

Top

Remarks

The HTML hidden 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