This topic has not yet been rated - Rate this topic

SPWebPartManager.BeginWebPartEditing Method

Starts the process of editing a selected Web Part in the page.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
public override void BeginWebPartEditing(
	WebPart webPart
)

Parameters

webPart
Type: System.Web.UI.WebControls.WebParts.WebPart
The control to be edited.

This override tests to ensure that webPart is in a state where it can be edited. If webPart can be edited, it is then set as the selected control (see the SeletedWebPart() property), and the editing process can continue.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ