See Also: HiddenField Members
In this topic:
The System.Web.UI.WebControls.HiddenField control is used to store a value that needs to be persisted across posts to the server. It is rendered as an <input type= "hidden"/> element.
Normally view state, session state, and cookies are used to maintain the state of a Web Forms page. However, if these methods are disabled or are not available, you can use the System.Web.UI.WebControls.HiddenField control to store state values.
To specify the value for a System.Web.UI.WebControls.HiddenField control, use the HiddenField.Value property. You can provide a routine that gets called every time the value of the System.Web.UI.WebControls.HiddenField control changes between posts to the server by creating an event handler for the HiddenField.ValueChanged event.
Example
<asp:HiddenField EnableTheming="True|