共用方式為


WebPartZone Web Server Control Overview

The WebPartZone control serves as the primary control in the Web Parts control set for hosting WebPart controls on a Web page, and provides a common UI for the controls it contains.

This topic contains:

  • Background

  • Code Examples

  • Class Reference

Background

The WebPartZone control inherits user interface elements from the WebZone base class and provides a common UI for the controls that it contains. These common UI elements are known collectively as chrome. They consist of the peripheral UI elements on all the controls, such as the border, title, header and footer, style characteristics, and verbs (UI actions that a user can carry out on a control, such as close or minimize). For more information about the UI elements that the WebPartZone control inherits from the WebZone base class, see the WebZone class documentation.

Back to top

Code Examples

Walkthrough: Creating a Web Parts Page

How to: Treat a User Control as a Web Parts Control

How to: Provide Optional Web Parts Controls

How to: Enable Users to Import Web Parts Control Settings

How to: Export Web Parts Control Settings

How to: Build and Run the Data-bound Web Parts Control Example

Walkthrough: Changing Display Modes on a Web Parts Page

How to: Set the Display Mode of a Web Parts Page

Walkthrough: Implementing Web Parts Personalization with a User Control

Walkthrough: Implementing Web Parts Personalization using IPersonalizable

How to: Enable Shared Personalization of Web Parts Pages

How to: Disable Web Parts Personalization

How to: Create Personalizable Properties on a Web Parts Control

How to: Remove User Entries from the Personalization Store

How to: Enable Users to Clear Personalization State

How to: Declare a Static Connection between Two Web Parts Controls

Back to top

Class Reference

Back to top

See Also

Concepts

EditorZone Web Server Control Overview

CatalogZone Web Server Control Overview

ConnectionsZone Web Server Control Overview

Reference

System.Web.UI.WebControls.WebParts

WebPart

GenericWebPart

Other Resources

Walkthrough: Creating a Web Parts Page