EditorPart.WebPartManager Property


Gets a reference to the WebPartManager control associated with the current Web page.

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

protected WebPartManager WebPartManager { get; }

Property Value

Type: System.Web.UI.WebControls.WebParts.WebPartManager

A reference to the WebPartManager on the page.

An EditorPart control needs a reference to the WebPartManager instance because it must check the current personalization scope of the page to determine the value of the Display property. Personalization scope is determined by checking the Scope property, which is accessed through the Personalization property.

.NET Framework
Available since 2.0
Return to top