ProxyWebPartManager.CreateControlCollection Method ()

 

Overrides the base property to prevent the ProxyWebPartManager control from containing controls.

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

protected override ControlCollection CreateControlCollection()

Return Value

Type: System.Web.UI.ControlCollection

Always returns an EmptyControlCollection.

The CreateControlCollection method overrides the base method to prevent the ProxyWebPartManager control from containing and returning collections of controls. Its only purpose is to enable static connections to be declared in content pages within an application that uses master pages.

.NET Framework
Available since 2.0
Return to top
Show: