Partilhar via


Web Part Page Services Component (WPSC) Object Model

Applies to: SharePoint Foundation 2010

The Web Part Page Services Component (WPSC) adds dynamic capabilities to your Web Part Page by providing Web Part discovery, notification, and state management services used by Web Parts. It is a client-side component that is rendered as a client-side ECMAScript (JScript, JavaScript) component. The WPSC applies only to Web Parts that are derived from the Microsoft.SharePoint.WebPartPages.WebPart class, and not to Web Parts derived from the System.Web.UI.WebControls.WebParts.WebPart class of ASP.NET.

The WPSC is structured as an object model for ease of programming. Following is a simple diagram of the WPSC object model.

WPSC Object Model

You can write code against the WPSC to support deeper integration of Web Parts or to manipulate your Web Part Page. For example, you can build applications composed of related Web Parts that respond to events in other Web Parts or change titles and captions at run time. You can also think of WPSC as a set of services where each service describes a type of functionality that Web Parts need. For more information about this set of services, see WPSC Services.

The WPSC is part of the SharePoint Foundation Web Part infrastructure. The component is installed with the Web Part infrastructure when you install Windows SharePoint Services. At run time, the infrastructure embeds a WPSC instance on a Web Part Page, where it provides key services at the Web Part and Web Part Page levels.

The WPSC is available as two Microsoft JScript files—one that supports Internet Explorer 5.0, and another that supports Internet Explorer 5.5 and later. At run time, the Web Part infrastructure detects the browser type and provides the appropriate version during Web Part Page rendering.

In This Section

WPSC Services

WPSC Data Flow

WPSC Services

Standard System Event Support

Web Part Page Services Component (WPSC) Reference