ProxyWebPartManager.CreateControlCollection Method

Definition

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

C#
protected override System.Web.UI.ControlCollection CreateControlCollection();

Returns

Always returns an EmptyControlCollection.

Remarks

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.

Applies to

Product Versions
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also