The HtmlInputHidden class defines the methods, properties, and events of the HtmlInputHidden control. This class allows programmatic access to the HTML <input type=hidden> element on the server.
Object
Control
HtmlControl
HtmlInputControl
HtmlInputHidden
[Visual Basic] Public Class HtmlInputHidden Inherits HtmlInputControl Implements IPostBackDataHandler [C#] public class HtmlInputHidden : HtmlInputControl, IPostBackDataHandler [C++] public __gc class HtmlInputHidden : public HtmlInputControl, IPostBackDataHandler [JScript] public class HtmlInputHidden extends HtmlInputControl, IPostBackDataHandler
Developers can use the HtmlInputHidden control to embed non-visible information within a <form> element. This information will then be round tripped to the server the next time a user performs a postback.
Note The Web Forms page framework uses this HTML feature to automatically load and persist the view state of server controls on a page.
Namespace: System.Web.UI.HtmlControls
Assembly: System.Web.dll
HtmlInputHidden Members | System.Web.UI.HtmlControls Namespace