SPWebPartManager Methods

Include Protected Members
Include Inherited Members

The SPWebPartManager type exposes the following members.

Methods

  Name Description
Protected method ActivateConnections Makes active all connections on a webpage that are currently inactive. (Overrides WebPartManager.ActivateConnections().)
Protected method AddedControl (Inherited from Control.)
Protected method AddParsedSubObject (Inherited from Control.)
Public method AddWebPart (Inherited from WebPartManager.)
Public method ApplyStyleSheetSkin (Inherited from Control.)
Public method BeginWebPartConnecting (Inherited from WebPartManager.)
Public method BeginWebPartEditing Starts the process of editing a selected Web Part in the page. (Overrides WebPartManager.BeginWebPartEditing(WebPart).)
Protected method BuildProfileTree (Inherited from Control.)
Public method CanConnectWebParts(WebPart, ProviderConnectionPoint, WebPart, ConsumerConnectionPoint) (Inherited from WebPartManager.)
Public method 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).)
Public method 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.
Protected method CheckRenderClientScript Indicates whether the SPWebPartManager is required to register client scripts on the page. (Overrides WebPartManager.CheckRenderClientScript().)
Protected method ClearChildControlState (Inherited from Control.)
Protected method ClearChildState (Inherited from Control.)
Protected method ClearChildViewState (Inherited from Control.)
Public method CloseWebPart (Inherited from WebPartManager.)
Public method ConnectWebParts(WebPart, ProviderConnectionPoint, WebPart, ConsumerConnectionPoint) (Inherited from WebPartManager.)
Public method ConnectWebParts(WebPart, ProviderConnectionPoint, WebPart, ConsumerConnectionPoint, WebPartTransformer) Creates a connection between two Web Parts. (Overrides WebPartManager.ConnectWebParts(WebPart, ProviderConnectionPoint, WebPart, ConsumerConnectionPoint, WebPartTransformer).)
Protected method CopyWebPart Returns the WebPart passed in without creating a copy. (Overrides WebPartManager.CopyWebPart(WebPart).)
Protected method 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().)
Protected method CreateChildControls (Inherited from Control.)
Protected method CreateControlCollection (Inherited from WebPartManager.)
Protected method CreateDisplayModes Creates the set of all possible display modes for a Web Parts application. (Overrides WebPartManager.CreateDisplayModes().)
Protected method CreateDynamicConnectionID (Inherited from WebPartManager.)
Protected method CreateDynamicWebPartID (Inherited from WebPartManager.)
Protected method CreateErrorWebPart (Inherited from WebPartManager.)
Protected method CreatePersonalization Returns a personalization object to contain a user's personalization data for the current webpage. (Overrides WebPartManager.CreatePersonalization().)
Public method CreateWebPart (Inherited from WebPartManager.)
Public methodStatic member CreateWebPartFromList(SPList) Creates a new Web Part that views a specified list.
Public methodStatic member 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.
Public method DataBind() (Inherited from Control.)
Protected method DataBind(Boolean) (Inherited from Control.)
Protected method DataBindChildren (Inherited from Control.)
Public method DeleteWebPart (Inherited from WebPartManager.)
Protected method 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).)
Public method DisconnectWebParts Carries out the process of disconnecting server controls that are connected on a Web page. (Overrides WebPartManager.DisconnectWebParts(WebPartConnection).)
Public method Dispose Enables the SPWebPartManager to perform final cleanup before it is released from memory. (Overrides Control.Dispose().)
Public method EndWebPartConnecting (Inherited from WebPartManager.)
Public method EndWebPartEditing (Inherited from WebPartManager.)
Protected method EnsureChildControls (Inherited from Control.)
Protected method EnsureID (Inherited from Control.)
Public method Equals (Inherited from Object.)
Public method ExportWebPart (Inherited from WebPartManager.)
Protected method Finalize (Inherited from Object.)
Public method FindControl(String) (Inherited from Control.)
Protected method FindControl(String, Int32) (Inherited from Control.)
Public method Focus (Inherited from WebPartManager.)
Public methodStatic member GetClassResourcePath Gets the full URL of a specified Web Part type.
Public method 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).)
Protected method GetDesignModeState (Inherited from Control.)
Public method GetDisplayMode Returns the display mode for a webpage that contains Web Part controls.
Protected method GetDisplayTitle Gets a string that contains the value for the DisplayTitle property of a WebPart control. (Overrides WebPartManager.GetDisplayTitle(WebPart).)
Public method GetExportUrl (Inherited from WebPartManager.)
Public method GetGenericWebPart (Inherited from WebPartManager.)
Public method GetHashCode (Inherited from Object.)
Public method GetPermissions Gets the permissions of the current user on the Web Part.
Public method 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).)
Public methodStatic member GetServerRelativeClassResourcePath Gets the server relative URL for a specified Web Part class.
Public method GetStorageKey Returns the storage key for the specified Web Part on the page.
Public method GetType (Inherited from Object.)
Public method HasControls (Inherited from Control.)
Protected method HasEvents (Inherited from Control.)
Public method 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).)
Public method IsAuthorized(WebPart) (Inherited from WebPartManager.)
Public method IsAuthorized(Type, String, String, Boolean) Indicates whether a control is authorized to be added to a page. (Overrides WebPartManager.IsAuthorized(Type, String, String, Boolean).)
Protected method IsLiteralContent (Inherited from Control.)
Protected method LoadControlState This member is reserved for internal use and is not intended to be used directly from your code. (Overrides WebPartManager.LoadControlState(Object).)
Protected method LoadCustomPersonalizationState (Inherited from WebPartManager.)
Protected method LoadViewState (Inherited from Control.)
Protected method MapPathSecure (Inherited from Control.)
Protected method MemberwiseClone (Inherited from Object.)
Public method MoveWebPart (Inherited from WebPartManager.)
Protected method OnAuthorizeWebPart (Inherited from WebPartManager.)
Protected method OnBubbleEvent (Inherited from Control.)
Protected method OnConnectionsActivated (Inherited from WebPartManager.)
Protected method OnConnectionsActivating (Inherited from WebPartManager.)
Protected method OnDataBinding (Inherited from Control.)
Protected method OnDisplayModeChanged (Inherited from WebPartManager.)
Protected method OnDisplayModeChanging (Inherited from WebPartManager.)
Protected method OnInit Handles the Init event. (Overrides WebPartManager.OnInit(EventArgs).)
Protected method OnLoad Handles the Load event. (Overrides Control.OnLoad(EventArgs).)
Protected method OnPreRender Handles the PreRender event. (Overrides WebPartManager.OnPreRender(EventArgs).)
Protected method OnSelectedWebPartChanged (Inherited from WebPartManager.)
Protected method OnSelectedWebPartChanging (Inherited from WebPartManager.)
Protected method OnUnload (Inherited from WebPartManager.)
Protected method OnWebPartAdded Handles the WebPartAdded event. (Overrides WebPartManager.OnWebPartAdded(WebPartEventArgs).)
Protected method OnWebPartAdding Handles the WebPartAdding event. (Overrides WebPartManager.OnWebPartAdding(WebPartAddingEventArgs).)
Protected method OnWebPartClosed Handles the WebPartClosed event. (Overrides WebPartManager.OnWebPartClosed(WebPartEventArgs).)
Protected method OnWebPartClosing (Inherited from WebPartManager.)
Protected method OnWebPartDeleted Handles the WebPartDeleted event. (Overrides WebPartManager.OnWebPartDeleted(WebPartEventArgs).)
Protected method OnWebPartDeleting Handles the WebPartDeleting event. (Overrides WebPartManager.OnWebPartDeleting(WebPartCancelEventArgs).)
Protected method OnWebPartMoved (Inherited from WebPartManager.)
Protected method OnWebPartMoving (Inherited from WebPartManager.)
Protected method OnWebPartsConnected (Inherited from WebPartManager.)
Protected method OnWebPartsConnecting (Inherited from WebPartManager.)
Protected method OnWebPartsDisconnected (Inherited from WebPartManager.)
Protected method OnWebPartsDisconnecting (Inherited from WebPartManager.)
Protected method OpenFile (Inherited from Control.)
Protected method RaiseBubbleEvent (Inherited from Control.)
Protected method RegisterClientScript (Inherited from WebPartManager.)
Protected method RemovedControl (Inherited from Control.)
Protected method Render Renders the SPWebPartManager to the page. (Overrides WebPartManager.Render(HtmlTextWriter).)
Protected method RenderChildren (Inherited from Control.)
Public method RenderControl(HtmlTextWriter) (Inherited from Control.)
Protected method RenderControl(HtmlTextWriter, ControlAdapter) (Inherited from Control.)
Public methodStatic member ReplaceTokens Gets a new string within which the tokens have been replaced by the appropriate values for a specified Web Part.
Protected method ResolveAdapter (Inherited from Control.)
Public method ResolveClientUrl (Inherited from Control.)
Public method ResolveUrl (Inherited from Control.)
Public method SaveChanges Saves changes to a single Web Part to the content database.
Protected method SaveControlState Saves state data for the SPWebPartManager so the data can be restored on future requests of the page. (Overrides WebPartManager.SaveControlState().)
Protected method SaveCustomPersonalizationState (Inherited from WebPartManager.)
Protected method SaveViewState (Inherited from Control.)
Protected method SetDesignModeState (Inherited from Control.)
Public methodStatic member SetIsIncludedFilter Sets an arbitrary string to determine whether a Web Part is authorized to be added to a page.
Protected method SetPersonalizationDirty (Inherited from WebPartManager.)
Public method SetRenderMethodDelegate (Inherited from Control.)
Protected method SetSelectedWebPart (Inherited from WebPartManager.)
Public method 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.
Public method 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.
Public method SPDisconnectWebParts Disconnects two connected Web Parts.
Public method ToString (Inherited from Object.)
Protected method TrackViewState (Inherited from WebPartManager.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IPostBackEventHandler.RaisePostBackEvent Enables the SPWebPartManager to process an event raised when the form is posted to the server.
Explicit interface implemetationPrivate method IParserAccessor.AddParsedSubObject (Inherited from Control.)
Explicit interface implemetationPrivate method IControlDesignerAccessor.GetDesignModeState (Inherited from Control.)
Explicit interface implemetationPrivate method IPersonalizable.Load (Inherited from WebPartManager.)
Explicit interface implemetationPrivate method IPersonalizable.Save (Inherited from WebPartManager.)
Explicit interface implemetationPrivate method IControlDesignerAccessor.SetDesignModeState (Inherited from Control.)
Explicit interface implemetationPrivate method IControlDesignerAccessor.SetOwnerControl (Inherited from Control.)

Top

See Also

Reference

SPWebPartManager Class

Microsoft.SharePoint.WebPartPages Namespace