WebPartZoneBase::CreateChildControls Method ()

 

Creates the set of child controls contained in a zone.

Namespace:   System.Web.UI.WebControls.WebParts
Assembly:  System.Web (in System.Web.dll)

public protected:
virtual void CreateChildControls() override

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.

.NET Framework
Available since 2.0
Return to top
Show: