Freigeben über


EditorZone Web Server Control Overview

The EditorZone Web Server control serves as the primary control in the Web Parts control set for hosting EditorPart controls on a Web page.

This topic contains:

  • Background

  • Code Examples

  • Class Reference

Background

A key feature of Web Parts is the ability of end users to personalize Web pages and save their personalized settings. One aspect of modifying Web Parts pages includes editing the appearance, layout, behavior, and other properties of the visible WebPart controls.

Several controls in the Web Parts control set provide the editing features. This includes the EditorZone control, which is the primary control in the Web Parts control set for hosting EditorPart controls on a Web page.

The following table provides a list of EditorPart controls that the EditorZone can host and a description of each.

EditorPart Control

Description

AppearanceEditorPart

Lets users customize the visual properties of a WebPart control at run time, such as the width, height, and title.

For more information, see AppearanceEditorPart Web Server Control Overview.

BehaviorEditorPart

Lets users customize behavior properties of a WebPart control at run time, such as displaying minimize, close, and edit buttons.

For more information, see BehaviorEditorPart Web Server Control Overview.

LayoutEditorPart

Lets users customize layout properties of a WebPart control at run time, such as selecting a minimized or normal state, or setting the index at which the control will appear within the target zone.

For more information, see LayoutEditorPart Web Server Control Overview.

PropertyGridEditorPart

Lets users edit custom properties at run time that are declared as part of a WebPart control.

For more information, see PropertyGridEditorPart Web Server Control Overview.

An EditorZone control becomes visible when a user puts a Web Parts page into edit mode.

For more information about display modes, see Walkthrough: Changing Display Modes on a Web Parts Page.

The EditorZone Web server control is a zone control. For more information about zones and how they are used in Web Parts applications, see Web Parts Control Set Overview, Walkthrough: Creating a Web Parts Page, and the WebZone class.

For an examples that shows the EditorZone class, see the "Example" section of EditorZone.

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

Web Parts Personalization Overview

Reference

Web Parts Control Set Overview

EditorPart

EditorZone

Other Resources

ASP.NET Web Parts Controls