Controls You Can Use on Web Forms ASP.NET Standard Controls Substitution Control
The Substitution 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 Substitution control is suitable for:
- Group Behavior You can manage a group of controls as a unit by putting them in a substitution and then manipulating the substitution. For example, you can hide or show a group of controls inside a substitution by setting the substitution’s Visible property.
- Dynamic Control Generation The Substitution control provides a convenient container for controls that you create at run time.
- Appearance The Substitution 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.
Adding Substitution Controls to a Web Forms Page Adding Controls to a Web Forms Page Programmatically