WebPartPageContents Class

The WebPartPageContents class inserts a list of Web Parts contained within a Web Part Page into a page for managing the Web Parts.

System.Object

   System.Web.UI.Control

      Microsoft.SharePoint.WebControls.WebPartPageContents

Public Constructors

The following table shows the public constructors of the WebPartPageContents class and a brief description of each.

Name Description
WebPartPageContents Initializes a new instance of the WebPartPageContents class.

Protected Methods

The following table shows the protected methods of the WebPartPageContents class and a brief description of each.

Name Description
CreateChildControls Notifies the server control to create any child controls it contains in preparation for posting back or rendering.
OnInit Raises an event when the server control is initialized.
OnPreRender Raises an event when the server control is about to be rendered on its containing page.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread safe.

Requirements

Namespace: Microsoft.SharePoint.WebControls

Platforms: Microsoft Windows Server 2003

Assembly: Windows SharePoint Services (in Microsoft.SharePoint.dll)

Security: Code Access Security