System.Web.UI.Adapters.ControlAdapter.CreateChildControls Method

Creates the target-specific child controls for a composite control.

Syntax

protected virtual void CreateChildControls ()

Remarks

If there is a derived control adapter attached to a System.Web.UI.Control object and the ControlAdapter.CreateChildControls method is overridden, the override is called instead of the System.Web.UI.Control.CreateChildControls method. Thus, ControlAdapter.CreateChildControls can be used to create a target-specific child control set.

For more information about combining controls to create a new control, see Composite Controls.

Requirements

Namespace: System.Web.UI.Adapters
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0