Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Include Protected Members
Include Inherited Members
Manages all the Web Part controls, functionality, and events that occur on a webpage.
The SPWebPartManager type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
![]() |
SPWebPartManager | Initializes a new instance of the SPWebPartManager class. |
Top
Properties
| Name | Description | |
|---|---|---|
![]() |
Adapter | (Inherited from Control.) |
![]() |
AppRelativeTemplateSourceDirectory | (Inherited from Control.) |
![]() |
AuthorizationFilterEnabled | Gets a flag that indicates whether an authorization filter is enabled in the current page. |
![]() |
AvailableTransformers | (Inherited from WebPartManager.) |
![]() |
BindingContainer | (Inherited from Control.) |
![]() |
ChildControlsCreated | (Inherited from Control.) |
![]() |
ClientID | (Inherited from Control.) |
![]() |
ClientIDSeparator | (Inherited from Control.) |
![]() |
CloseProviderWarning | (Inherited from WebPartManager.) |
![]() |
Connections | (Inherited from WebPartManager.) |
![]() |
Context | (Inherited from Control.) |
![]() |
Controls | (Inherited from WebPartManager.) |
![]() |
DeleteWarning | (Inherited from WebPartManager.) |
![]() |
DesignMode | (Inherited from Control.) |
![]() |
DisplayMode | (Inherited from WebPartManager.) |
![]() |
DisplayModes | (Inherited from WebPartManager.) |
![]() ![]() |
DownLevelWebPartMenuDisplayMode | Gets the WebPartDisplayMode to display the ToolPane with menu options as links instead of the drop-down menu that is displayed in Internet Explorer 9, Internet Explorer 8, Internet Explorer 7, 6, and Internet Explorer 5.5. |
![]() |
DynamicConnections | (Inherited from WebPartManager.) |
![]() |
EnableClientScript | (Inherited from WebPartManager.) |
![]() |
EnableTheming | (Inherited from WebPartManager.) |
![]() |
EnableViewState | (Inherited from Control.) |
![]() |
Events | (Inherited from Control.) |
![]() |
ExportSensitiveDataWarning | (Inherited from WebPartManager.) |
![]() ![]() |
ExtensibleViewDisplayMode | Gets the WebPartDisplayMode to display the ToolPane in extensible view. |
![]() ![]() |
GallerySearchDisplayMode | Gets the WebPartDisplayMode that enables end users to search for Web Parts in the Web Parts galleries to add to a page. |
![]() |
HasChildViewState | (Inherited from Control.) |
![]() |
HasPersonalizedParts | Determines whether the page contains personalized parts. |
![]() |
ID | (Inherited from Control.) |
![]() |
IdSeparator | (Inherited from Control.) |
![]() ![]() |
ImportDisplayMode | Gets the WebPartDisplayMode that enables end users to import a Web Part to add to the page. |
![]() |
Internals | (Inherited from WebPartManager.) |
![]() |
IsChildControlStateCleared | (Inherited from Control.) |
![]() |
IsCustomPersonalizationStateDirty | Gets a value that indicates whether personalization changes have been made that affect page-level personalization details controlled by the SPWebPartManager control. (Overrides WebPartManager.IsCustomPersonalizationStateDirty.) |
![]() |
IsTrackingViewState | (Inherited from Control.) |
![]() |
IsViewStateEnabled | (Inherited from Control.) |
![]() |
LoadViewStateByID | (Inherited from Control.) |
![]() |
NamingContainer | (Inherited from Control.) |
![]() ![]() |
NavigationDisplayMode | Gets the WebPartDisplayMode to display the tool pane in Navigation view for older browsers such as Internet Explorer 5.01 or earlier. |
![]() |
Page | (Inherited from Control.) |
![]() |
Parent | (Inherited from Control.) |
![]() |
Personalization | (Inherited from WebPartManager.) |
![]() |
SelectedWebPart | (Inherited from WebPartManager.) |
![]() |
ServerRelativeUrl | Gets the server relative URL of the current Web Parts page. |
![]() |
Site | (Inherited from Control.) |
![]() |
SkinID | (Inherited from WebPartManager.) |
![]() |
SPWebPartConnections | Gets a collection of SPWebPartConnection objects. |
![]() |
StaticConnections | (Inherited from WebPartManager.) |
![]() |
SupportedDisplayModes | (Inherited from WebPartManager.) |
![]() |
TemplateControl | (Inherited from Control.) |
![]() |
TemplateSourceDirectory | (Inherited from Control.) |
![]() ![]() |
ToolPaneErrorDisplayMode | Gets the WebPartDisplayMode that enables the error message to be displayed in the ToolPane. |
![]() |
UnauthorizedWebParts | Gets a collection of unauthorized Web Parts on the page. |
![]() |
UniqueID | (Inherited from Control.) |
![]() |
ViewState | (Inherited from Control.) |
![]() |
ViewStateIgnoresCase | (Inherited from Control.) |
![]() |
Visible | (Inherited from WebPartManager.) |
![]() |
WebParts | (Inherited from WebPartManager.) |
![]() |
Zones | (Inherited from WebPartManager.) |
Top
Methods
| Name | Description | |
|---|---|---|
![]() |
ActivateConnections | Makes active all connections on a webpage that are currently inactive. (Overrides WebPartManager.ActivateConnections().) |
![]() |
AddedControl | (Inherited from Control.) |
![]() |
AddParsedSubObject | (Inherited from Control.) |
![]() |
AddWebPart | (Inherited from WebPartManager.) |
![]() |
ApplyStyleSheetSkin | (Inherited from Control.) |
![]() |
BeginWebPartConnecting | (Inherited from WebPartManager.) |
![]() |
BeginWebPartEditing | Starts the process of editing a selected Web Part in the page. (Overrides WebPartManager.BeginWebPartEditing(WebPart).) |
![]() |
BuildProfileTree | (Inherited from Control.) |
![]() |
CanConnectWebParts(WebPart, ProviderConnectionPoint, WebPart, ConsumerConnectionPoint) | (Inherited from WebPartManager.) |
![]() |
CanConnectWebParts(WebPart, ProviderConnectionPoint, WebPart, ConsumerConnectionPoint, WebPartTransformer) | Checks the Web Parts that will be participating in a connection to determine whether they can be connected, and uses a WebPartTransformer object to create the connection between an incompatible consumer and provider. (Overrides WebPartManager.CanConnectWebParts(WebPart, ProviderConnectionPoint, WebPart, ConsumerConnectionPoint, WebPartTransformer).) |
![]() |
CanSPConnectWebParts | Checks the Web Parts that will be participating in a connection to determine whether the SPWebPartConnection can be used to form a connection between them. |
![]() |
CheckRenderClientScript | Indicates whether the SPWebPartManager is required to register client scripts on the page. (Overrides WebPartManager.CheckRenderClientScript().) |
![]() |
ClearChildControlState | (Inherited from Control.) |
![]() |
ClearChildState | (Inherited from Control.) |
![]() |
ClearChildViewState | (Inherited from Control.) |
![]() |
CloseWebPart | (Inherited from WebPartManager.) |
![]() |
ConnectWebParts(WebPart, ProviderConnectionPoint, WebPart, ConsumerConnectionPoint) | (Inherited from WebPartManager.) |
![]() |
ConnectWebParts(WebPart, ProviderConnectionPoint, WebPart, ConsumerConnectionPoint, WebPartTransformer) | Creates a connection between two Web Parts. (Overrides WebPartManager.ConnectWebParts(WebPart, ProviderConnectionPoint, WebPart, ConsumerConnectionPoint, WebPartTransformer).) |
![]() |
CopyWebPart | Returns the WebPart passed in without creating a copy. (Overrides WebPartManager.CopyWebPart(WebPart).) |
![]() |
CreateAvailableTransformers | Creates a set of transformers specified in the configuration file of a website and adds them to the collection of transformers referenced by the AvailableTransformers property. (Overrides WebPartManager.CreateAvailableTransformers().) |
![]() |
CreateChildControls | (Inherited from Control.) |
![]() |
CreateControlCollection | (Inherited from WebPartManager.) |
![]() |
CreateDisplayModes | Creates the set of all possible display modes for a Web Parts application. (Overrides WebPartManager.CreateDisplayModes().) |
![]() |
CreateDynamicConnectionID | (Inherited from WebPartManager.) |
![]() |
CreateDynamicWebPartID | (Inherited from WebPartManager.) |
![]() |
CreateErrorWebPart | (Inherited from WebPartManager.) |
![]() |
CreatePersonalization | Returns a personalization object to contain a user's personalization data for the current webpage. (Overrides WebPartManager.CreatePersonalization().) |
![]() |
CreateWebPart | (Inherited from WebPartManager.) |
![]() ![]() |
CreateWebPartFromList(SPList) | Creates a new Web Part that views a specified list. |
![]() ![]() |
CreateWebPartFromList(SPList, Boolean) | Creates a new Web Part that views a specified list and optionally forces selection of the ListViewWebPart class for the default view of a calendar list. |
![]() |
DataBind() | (Inherited from Control.) |
![]() |
DataBind(Boolean) | (Inherited from Control.) |
![]() |
DataBindChildren | (Inherited from Control.) |
![]() |
DeleteWebPart | (Inherited from WebPartManager.) |
![]() |
DisconnectWebPart | Removes a Web Part or server control that is being closed or deleted from any connections it is participating in. (Overrides WebPartManager.DisconnectWebPart(WebPart).) |
![]() |
DisconnectWebParts | Carries out the process of disconnecting server controls that are connected on a Web page. (Overrides WebPartManager.DisconnectWebParts(WebPartConnection).) |
![]() |
Dispose | Enables the SPWebPartManager to perform final cleanup before it is released from memory. (Overrides Control.Dispose().) |
![]() |
EndWebPartConnecting | (Inherited from WebPartManager.) |
![]() |
EndWebPartEditing | (Inherited from WebPartManager.) |
![]() |
EnsureChildControls | (Inherited from Control.) |
![]() |
EnsureID | (Inherited from Control.) |
![]() |
Equals | (Inherited from Object.) |
![]() |
ExportWebPart | (Inherited from WebPartManager.) |
![]() |
Finalize | (Inherited from Object.) |
![]() |
FindControl(String) | (Inherited from Control.) |
![]() |
FindControl(String, Int32) | (Inherited from Control.) |
![]() |
Focus | (Inherited from WebPartManager.) |
![]() ![]() |
GetClassResourcePath | Gets the full URL of a specified Web Part type. |
![]() |
GetConsumerConnectionPoints | Returns the collection of consumer connection points that can act as connection points from a Web Part that is acting as a consumer inside a Web Parts connection. (Overrides WebPartManager.GetConsumerConnectionPoints(WebPart).) |
![]() |
GetDesignModeState | (Inherited from Control.) |
![]() |
GetDisplayMode | Returns the display mode for a webpage that contains Web Part controls. |
![]() |
GetDisplayTitle | Gets a string that contains the value for the DisplayTitle property of a WebPart control. (Overrides WebPartManager.GetDisplayTitle(WebPart).) |
![]() |
GetExportUrl | (Inherited from WebPartManager.) |
![]() |
GetGenericWebPart | (Inherited from WebPartManager.) |
![]() |
GetHashCode | (Inherited from Object.) |
![]() |
GetPermissions | Gets the permissions of the current user on the Web Part. |
![]() |
GetProviderConnectionPoints | Returns the collection of provider connection points that can act as connection points from a Web Part that is acting as a provider inside a Web Parts connection. (Overrides WebPartManager.GetProviderConnectionPoints(WebPart).) |
![]() ![]() |
GetServerRelativeClassResourcePath | Gets the server relative URL for a specified Web Part class. |
![]() |
GetStorageKey | Returns the storage key for the specified Web Part on the page. |
![]() |
GetType | (Inherited from Object.) |
![]() |
HasControls | (Inherited from Control.) |
![]() |
HasEvents | (Inherited from Control.) |
![]() |
ImportWebPart | Imports an XML description file that contains state and property data for a Web Part, applies the data to the Web Part, and registers the Web Part with the SPWebPartManager. (Overrides WebPartManager.ImportWebPart(XmlReader, String).) |
![]() |
IsAuthorized(WebPart) | (Inherited from WebPartManager.) |
![]() |
IsAuthorized(Type, String, String, Boolean) | Indicates whether a control is authorized to be added to a page. (Overrides WebPartManager.IsAuthorized(Type, String, String, Boolean).) |
![]() |
IsLiteralContent | (Inherited from Control.) |
![]() |
LoadControlState | This member is reserved for internal use and is not intended to be used directly from your code. (Overrides WebPartManager.LoadControlState(Object).) |
![]() |
LoadCustomPersonalizationState | (Inherited from WebPartManager.) |
![]() |
LoadViewState | (Inherited from Control.) |
![]() |
MapPathSecure | (Inherited from Control.) |
![]() |
MemberwiseClone | (Inherited from Object.) |
![]() |
MoveWebPart | (Inherited from WebPartManager.) |
![]() |
OnAuthorizeWebPart | (Inherited from WebPartManager.) |
![]() |
OnBubbleEvent | (Inherited from Control.) |
![]() |
OnConnectionsActivated | (Inherited from WebPartManager.) |
![]() |
OnConnectionsActivating | (Inherited from WebPartManager.) |
![]() |
OnDataBinding | (Inherited from Control.) |
![]() |
OnDisplayModeChanged | (Inherited from WebPartManager.) |
![]() |
OnDisplayModeChanging | (Inherited from WebPartManager.) |
![]() |
OnInit | Handles the Init event. (Overrides WebPartManager.OnInit(EventArgs).) |
![]() |
OnLoad | Handles the Load event. (Overrides Control.OnLoad(EventArgs).) |
![]() |
OnPreRender | Handles the PreRender event. (Overrides WebPartManager.OnPreRender(EventArgs).) |
![]() |
OnSelectedWebPartChanged | (Inherited from WebPartManager.) |
![]() |
OnSelectedWebPartChanging | (Inherited from WebPartManager.) |
![]() |
OnUnload | (Inherited from WebPartManager.) |
![]() |
OnWebPartAdded | Handles the WebPartAdded event. (Overrides WebPartManager.OnWebPartAdded(WebPartEventArgs).) |
![]() |
OnWebPartAdding | Handles the WebPartAdding event. (Overrides WebPartManager.OnWebPartAdding(WebPartAddingEventArgs).) |
![]() |
OnWebPartClosed | Handles the WebPartClosed event. (Overrides WebPartManager.OnWebPartClosed(WebPartEventArgs).) |
![]() |
OnWebPartClosing | (Inherited from WebPartManager.) |
![]() |
OnWebPartDeleted | Handles the WebPartDeleted event. (Overrides WebPartManager.OnWebPartDeleted(WebPartEventArgs).) |
![]() |
OnWebPartDeleting | Handles the WebPartDeleting event. (Overrides WebPartManager.OnWebPartDeleting(WebPartCancelEventArgs).) |
![]() |
OnWebPartMoved | (Inherited from WebPartManager.) |
![]() |
OnWebPartMoving | (Inherited from WebPartManager.) |
![]() |
OnWebPartsConnected | (Inherited from WebPartManager.) |
![]() |
OnWebPartsConnecting | (Inherited from WebPartManager.) |
![]() |
OnWebPartsDisconnected | (Inherited from WebPartManager.) |
![]() |
OnWebPartsDisconnecting | (Inherited from WebPartManager.) |
![]() |
OpenFile | (Inherited from Control.) |
![]() |
RaiseBubbleEvent | (Inherited from Control.) |
![]() |
RegisterClientScript | (Inherited from WebPartManager.) |
![]() |
RemovedControl | (Inherited from Control.) |
![]() |
Render | Renders the SPWebPartManager to the page. (Overrides WebPartManager.Render(HtmlTextWriter).) |
![]() |
RenderChildren | (Inherited from Control.) |
![]() |
RenderControl(HtmlTextWriter) | (Inherited from Control.) |
![]() |
RenderControl(HtmlTextWriter, ControlAdapter) | (Inherited from Control.) |
![]() ![]() |
ReplaceTokens | Gets a new string within which the tokens have been replaced by the appropriate values for a specified Web Part. |
![]() |
ResolveAdapter | (Inherited from Control.) |
![]() |
ResolveClientUrl | (Inherited from Control.) |
![]() |
ResolveUrl | (Inherited from Control.) |
![]() |
SaveChanges | Saves changes to a single Web Part to the content database. |
![]() |
SaveControlState | Saves state data for the SPWebPartManager so the data can be restored on future requests of the page. (Overrides WebPartManager.SaveControlState().) |
![]() |
SaveCustomPersonalizationState | (Inherited from WebPartManager.) |
![]() |
SaveViewState | (Inherited from Control.) |
![]() |
SetDesignModeState | (Inherited from Control.) |
![]() ![]() |
SetIsIncludedFilter | Sets an arbitrary string to determine whether a Web Part is authorized to be added to a page. |
![]() |
SetPersonalizationDirty | (Inherited from WebPartManager.) |
![]() |
SetRenderMethodDelegate | (Inherited from Control.) |
![]() |
SetSelectedWebPart | (Inherited from WebPartManager.) |
![]() |
SPConnectWebParts(WebPart, ProviderConnectionPoint, WebPart, ConsumerConnectionPoint) | Creates a SPWebPartConnection between two Web Parts with the references to the specified Web Parts and the specified ConnectionPoint objects. |
![]() |
SPConnectWebParts(WebPart, ProviderConnectionPoint, WebPart, ConsumerConnectionPoint, WebPartTransformer) | Creates a SPWebPartConnection between two Web Parts with the references to the specified Web Parts, the specified ConnectionPoint objects and a specified WebPartTransformer. |
![]() |
SPDisconnectWebParts | Disconnects two connected Web Parts. |
![]() |
ToString | (Inherited from Object.) |
![]() |
TrackViewState | (Inherited from WebPartManager.) |
Top
Events
Top
Explicit Interface Implementations
| Name | Description | |
|---|---|---|
![]() ![]() |
IPostBackEventHandler.RaisePostBackEvent | Enables the SPWebPartManager to process an event raised when the form is posted to the server. |
![]() ![]() |
IParserAccessor.AddParsedSubObject | (Inherited from Control.) |
![]() ![]() |
IControlBuilderAccessor.ControlBuilder | (Inherited from Control.) |
![]() ![]() |
IDataBindingsAccessor.DataBindings | (Inherited from Control.) |
![]() ![]() |
IExpressionsAccessor.Expressions | (Inherited from Control.) |
![]() ![]() |
IControlDesignerAccessor.GetDesignModeState | (Inherited from Control.) |
![]() ![]() |
IDataBindingsAccessor.HasDataBindings | (Inherited from Control.) |
![]() ![]() |
IExpressionsAccessor.HasExpressions | (Inherited from Control.) |
![]() ![]() |
IPersonalizable.IsDirty | (Inherited from WebPartManager.) |
![]() ![]() |
IPersonalizable.Load | (Inherited from WebPartManager.) |
![]() ![]() |
IPersonalizable.Save | (Inherited from WebPartManager.) |
![]() ![]() |
IControlDesignerAccessor.SetDesignModeState | (Inherited from Control.) |
![]() ![]() |
IControlDesignerAccessor.SetOwnerControl | (Inherited from Control.) |
![]() ![]() |
IControlDesignerAccessor.UserData | (Inherited from Control.) |
Top
.gif)
.gif)
.gif)
.gif)
.gif)
.gif)
.gif)
.gif)
.gif)