Home   |   QuickStart Welcome   |   ASP.NET   |   Web Services   |   How Do I...?   
  |   I want my samples in...      

ASP.NET 2.0 Quickstart Tutorials


You can use hidden controls within HTML forms to embed non-visible information that will be sent back to the server the next time a user performs a postback. This technique is commonly used to persist session-dependent information without using cookies or session state. The Web Forms framework uses this feature of HTML to automatically store and restore the view state of ASP.NET server controls across round trips to the server.

The following sample illustrates using the HtmlInputHidden control.

VB HtmlInputHidden1.aspx
Run Sample View Source