asp.net.ph

Skip Navigation Links

Introduction to the HiddenField Control

Controls You Can Use on Web Forms   ASP.NET Standard Controls   HiddenField Control


The HiddenField Web server control provides a container control within a Web Forms page that you can use as a parent for static text and for other controls. The HiddenField control is suitable for:

  • Group Behavior   You can manage a group of controls as a unit by putting them in a hiddenfield and then manipulating the hiddenfield. For example, you can hide or show a group of controls inside a hiddenfield by setting the hiddenfield’s Visible property.
  • Dynamic Control Generation   The HiddenField control provides a convenient container for controls that you create at run time.
  • Appearance   The HiddenField control supports appearance properties such as BackColor and BorderWidth that you can set to create a unique look for a local area on a page.

See Also

Adding HiddenField Controls to a Web Forms Page   Adding Controls to a Web Forms Page Programmatically



© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

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