System.Web.UI.WebControls.PlaceHolder Class

Stores dynamically added server controls on the Web page.

See Also: PlaceHolder Members

Syntax

[System.Web.UI.ControlBuilder(typeof(System.Web.UI.WebControls.PlaceHolderControlBuilder))]
public class PlaceHolder : System.Web.UI.Control

Remarks

In this topic:

Introduction

Use the System.Web.UI.WebControls.PlaceHolder control as a container to store server controls that are dynamically added to the Web page. The System.Web.UI.WebControls.PlaceHolder control does not produce any visible output and is used only as a container for other controls on the Web page. You can use the System.Web.UI.Control.Controls collection to add, insert, or remove a control in the System.Web.UI.WebControls.PlaceHolder control.

Declarative Syntax

Example

<asp:PlaceHolder
    EnableTheming="

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0