asp.net.ph

HtmlInputHidden Class

System.Web.UI.HtmlControls Namespace


Allows programmatic access to the HTML <input type=hidden> element on the server.

HtmlInputHidden Class Members

Collapse   Constructors

Visibility Constructor Parameters
public HtmlInputHidden ( )

Collapse   Methods

Visibility Name Parameters Return Type
protected LoadPostData ( String postDataKey , NameValueCollection postCollection ) Boolean
protected OnServerChange ( EventArgs e ) Void
protected RaisePostDataChangedEvent ( ) Void
protected RenderAttributes ( HtmlTextWriter writer ) Void

Collapse   Events

Multicast Name Type
multicast ServerChange EventHandler

Remarks

You can use the HtmlInputHidden control to embed non-visible information within a <form> element. This information is sent when the Web page is posted back to the server.

The HtmlInputHidden control provides a ServerChange event that is raised when its Value property changes between posts to the server. This allows you to define a custom handler to perform some action each time the event is raised.

NOTE: The Web Forms page framework uses this HTML feature to automatically load and persist the view state of server controls on an ASP.NET page.

For examples illustrating use of this control, see the individual member types of this class. For syntax information, see HtmlInputHidden in ASP.NET Syntax for HTML Controls.

See Also

HtmlInputText   HtmlInputButton   HtmlInputRadioButton   HtmlInputCheckBox   HtmlInputImage   HtmlInputFile Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph