WebPartZoneBase.EditWebPart Method (WebPart)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Initiates the process of editing a selected WebPart control in a zone.

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

protected virtual void EditWebPart(
	WebPart webPart
)

Parameters

webPart
Type: System.Web.UI.WebControls.WebParts.WebPart

The WebPart control to be edited.

Exception Condition
ArgumentNullException

webPart is null.

The method should only be used by derived WebPartZoneBase zones such as WebPartZone.

.NET Framework
Available since 2.0
Return to top
Show: