Edit

Share via


WebPartZoneBase.CreateChildControls Method

Definition

Creates the set of child controls contained in a zone.

protected public:
 override void CreateChildControls();
protected internal override void CreateChildControls ();
override this.CreateChildControls : unit -> unit
Protected Friend Overrides Sub CreateChildControls ()

Remarks

The CreateChildControls method overrides the base Control.CreateChildControls method to create the set of WebPart controls contained in a zone. This occurs when the Web Parts page is in design mode, because the layout of the controls on the page (and within zones) can be changed in design mode. The set of WebPart controls within a zone must likewise be created to accommodate possible changes in the order or occurrence of controls in the zone.

Applies to

See also