WebPartZoneBase.CreateChildControls Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.