WebPartManager Methods

 

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

NameDescription
System_CAPS_protmethodActivateConnections()

Makes active all connections on a Web page that are currently inactive.

System_CAPS_protmethodAddedControl(Control, Int32)

Called after a child control is added to the Controls collection of the Control object.(Inherited from Control.)

System_CAPS_protmethodAddParsedSubObject(Object)

Notifies the server control that an element, either XML or HTML, was parsed, and adds the element to the server control's ControlCollection object.(Inherited from Control.)

System_CAPS_pubmethodAddWebPart(WebPart, WebPartZoneBase, Int32)

Provides the standard programmatic method for adding WebPart controls to a Web page.

System_CAPS_pubmethodApplyStyleSheetSkin(Page)

Applies the style properties defined in the page style sheet to the control.(Inherited from Control.)

System_CAPS_protmethodBeginRenderTracing(TextWriter, Object)

Begins design-time tracing of rendering data.(Inherited from Control.)

System_CAPS_pubmethodBeginWebPartConnecting(WebPart)

Starts the process of connecting two WebPart controls.

System_CAPS_pubmethodBeginWebPartEditing(WebPart)

Starts the process of editing a WebPart control.

System_CAPS_protmethodBuildProfileTree(String, Boolean)

This API supports the product infrastructure and is not intended to be used directly from your code. Gathers information about the server control and delivers it to the Trace property to be displayed when tracing is enabled for the page.(Inherited from Control.)

System_CAPS_pubmethodCanConnectWebParts(WebPart, ProviderConnectionPoint, WebPart, ConsumerConnectionPoint)

Checks the WebPart controls that will be participating in a connection to determine whether they are capable of being connected, when the consumer and provider controls have compatible interfaces and a WebPartTransformer object is not needed.

System_CAPS_pubmethodCanConnectWebParts(WebPart, ProviderConnectionPoint, WebPart, ConsumerConnectionPoint, WebPartTransformer)

Checks the WebPart controls that will be participating in a connection to determine whether they are capable of being connected, and uses a WebPartTransformer object to create the connection between an incompatible consumer and provider.

System_CAPS_protmethodCheckRenderClientScript()

Checks the capabilities of the browser making the request, and the value of the EnableClientScript property, to determine whether to render client script.

System_CAPS_protmethodClearCachedClientID()

This API supports the product infrastructure and is not intended to be used directly from your code. Sets the cached ClientID value to null.(Inherited from Control.)

System_CAPS_protmethodClearChildControlState()

Deletes the control-state information for the server control's child controls. (Inherited from Control.)

System_CAPS_protmethodClearChildState()

Deletes the view-state and control-state information for all the server control's child controls.(Inherited from Control.)

System_CAPS_protmethodClearChildViewState()

Deletes the view-state information for all the server control's child controls.(Inherited from Control.)

System_CAPS_protmethodClearEffectiveClientIDMode()

This API supports the product infrastructure and is not intended to be used directly from your code. Sets the ClientIDMode property of the current control instance and of any child controls to Inherit.(Inherited from Control.)

System_CAPS_pubmethodCloseWebPart(WebPart)

Closes a WebPart control in such a way that it is not rendered on a Web page, but can be reopened.

System_CAPS_pubmethodConnectWebParts(WebPart, ProviderConnectionPoint, WebPart, ConsumerConnectionPoint)

Creates a connection between two WebPart or GenericWebPart controls using only the references to the controls and their specified ConnectionPoint objects.

System_CAPS_pubmethodConnectWebParts(WebPart, ProviderConnectionPoint, WebPart, ConsumerConnectionPoint, WebPartTransformer)

Creates a connection between two WebPart or GenericWebPart controls using the references to the controls, their specified ConnectionPoint objects, and a WebPartTransformer object.

System_CAPS_protmethodCopyWebPart(WebPart)

Used by the Web Parts control set to create a copy of a WebPart or server control for the purpose of adding the control to a Web page.

System_CAPS_protmethodCreateAvailableTransformers()

Creates a set of transformers specified in a Web site's configuration file and adds them to the collection of transformers referenced by the AvailableTransformers property.

System_CAPS_protmethodCreateChildControls()

Called by the ASP.NET page framework to notify server controls that use composition-based implementation to create any child controls they contain in preparation for posting back or rendering.(Inherited from Control.)

System_CAPS_protmethodCreateControlCollection()

Returns the collection of all controls that are managed by the WebPartManager control on a Web page. This class cannot be inherited.(Overrides Control.CreateControlCollection().)

System_CAPS_protmethodCreateDisplayModes()

Creates the set of all possible display modes for a Web Parts application.

System_CAPS_protmethodCreateDynamicConnectionID()

Gets a unique value to serve as an ID for a dynamic connection.

System_CAPS_protmethodCreateDynamicWebPartID(Type)

Generates a unique ID for a dynamic WebPart control.

System_CAPS_protmethodCreateErrorWebPart(String, String, String, String, String)

Creates a special control that is inserted into a page and displayed for end users, when an attempt to load or create a dynamic WebPart control fails for some reason.

System_CAPS_protmethodCreatePersonalization()

Returns a personalization object to contain a user's personalization data for the current Web page.

System_CAPS_pubmethodCreateWebPart(Control)

Wraps a server control that is not a WebPart control with a GenericWebPart object, so that the control can have Web Parts functionality.

System_CAPS_pubmethodDataBind()

Binds a data source to the invoked server control and all its child controls.(Inherited from Control.)

System_CAPS_protmethodDataBind(Boolean)

Binds a data source to the invoked server control and all its child controls with an option to raise the DataBinding event. (Inherited from Control.)

System_CAPS_protmethodDataBindChildren()

Binds a data source to the server control's child controls.(Inherited from Control.)

System_CAPS_pubmethodDeleteWebPart(WebPart)

Permanently removes a dynamic instance of a WebPart control from a Web page.

System_CAPS_protmethodDisconnectWebPart(WebPart)

Removes a WebPart or server control that is being closed or deleted from any connections it is participating in.

System_CAPS_pubmethodDisconnectWebParts(WebPartConnection)

Carries out the process of disconnecting server controls that are connected on a Web page.

System_CAPS_pubmethodDispose()

Enables a server control to perform final clean up before it is released from memory.(Inherited from Control.)

System_CAPS_protmethodEndRenderTracing(TextWriter, Object)

Ends design-time tracing of rendering data.(Inherited from Control.)

System_CAPS_pubmethodEndWebPartConnecting()

Completes the process of connecting a WebPart control to another control.

System_CAPS_pubmethodEndWebPartEditing()

Completes the process of editing a WebPart control.

System_CAPS_protmethodEnsureChildControls()

Determines whether the server control contains child controls. If it does not, it creates child controls.(Inherited from Control.)

System_CAPS_protmethodEnsureID()

Creates an identifier for controls that do not have an identifier assigned.(Inherited from Control.)

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_pubmethodExportWebPart(WebPart, XmlWriter)

Creates an XML description file that contains state and property data for a server control.

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodFindControl(String)

Searches the current naming container for a server control with the specified id parameter.(Inherited from Control.)

System_CAPS_protmethodFindControl(String, Int32)

This API supports the product infrastructure and is not intended to be used directly from your code. Searches the current naming container for a server control with the specified id and an integer, specified in the pathOffset parameter, which aids in the search. You should not override this version of the FindControl method.(Inherited from Control.)

System_CAPS_pubmethodFocus()

Overridden to prevent focus from ever being set on the WebPartManager control, because it has no user interface (UI).(Overrides Control.Focus().)

System_CAPS_pubmethodGetConsumerConnectionPoints(WebPart)

Retrieves the collection of ConsumerConnectionPoint objects that can act as connection points from a server control that is acting as a consumer within a Web Parts connection.

System_CAPS_pubmethodSystem_CAPS_staticGetCurrentWebPartManager(Page)

Retrieves a reference to the current instance of the WebPartManager control on a page.

System_CAPS_protmethodGetDesignModeState()

This API supports the product infrastructure and is not intended to be used directly from your code. Gets design-time data for a control.(Inherited from Control.)

System_CAPS_protmethodGetDisplayTitle(WebPart)

Gets a string containing the value for the DisplayTitle property of a WebPart control.

System_CAPS_pubmethodGetExportUrl(WebPart)

Gets the relative virtual path and the query string that are part of the request when a user attempts to export a WebPart control.

System_CAPS_pubmethodGetGenericWebPart(Control)

Gets a reference to the instance of the GenericWebPart control that contains a server control.

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetProviderConnectionPoints(WebPart)

Retrieves the collection of ProviderConnectionPoint objects that can act as connection points from a server control that is acting as a provider within a Web Parts connection.

System_CAPS_pubmethodGetRouteUrl(Object)

Gets the URL that corresponds to a set of route parameters.(Inherited from Control.)

System_CAPS_pubmethodGetRouteUrl(RouteValueDictionary)

Gets the URL that corresponds to a set of route parameters.(Inherited from Control.)

System_CAPS_pubmethodGetRouteUrl(String, Object)

Gets the URL that corresponds to a set of route parameters and a route name.(Inherited from Control.)

System_CAPS_pubmethodGetRouteUrl(String, RouteValueDictionary)

Gets the URL that corresponds to a set of route parameters and a route name.(Inherited from Control.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodGetUniqueIDRelativeTo(Control)

Returns the prefixed portion of the UniqueID property of the specified control.(Inherited from Control.)

System_CAPS_pubmethodHasControls()

Determines if the server control contains any child controls.(Inherited from Control.)

System_CAPS_protmethodHasEvents()

Returns a value indicating whether events are registered for the control or any child controls.(Inherited from Control.)

System_CAPS_pubmethodImportWebPart(XmlReader, String)

Imports an XML description file that contains state and property data for a WebPart control, and applies the data to the control.

System_CAPS_pubmethodIsAuthorized(Type, String, String, Boolean)

Carries out the final steps in determining whether a control is authorized to be added to a page.

System_CAPS_pubmethodIsAuthorized(WebPart)

Carries out the initial steps in determining whether a control is authorized to be added to a page.

System_CAPS_protmethodIsLiteralContent()

This API supports the product infrastructure and is not intended to be used directly from your code. Determines if the server control holds only literal content.(Inherited from Control.)

System_CAPS_protmethodLoadControlState(Object)

Loads control state data that was saved from a previous page request, and needs to be restored on a subsequent request. (Overrides Control.LoadControlState(Object).)

System_CAPS_protmethodLoadCustomPersonalizationState(PersonalizationDictionary)

Stores the custom personalization data that has been passed to the WebPartManager control by the personalization objects to be used later during the initialization process.

System_CAPS_protmethodLoadViewState(Object)

Restores view-state information from a previous page request that was saved by the SaveViewState method.(Inherited from Control.)

System_CAPS_protmethodMapPathSecure(String)

Retrieves the physical path that a virtual path, either absolute or relative, maps to.(Inherited from Control.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodMoveWebPart(WebPart, WebPartZoneBase, Int32)

Moves a WebPart or server control from one WebPartZoneBase zone to another, or to a new position within the same zone.

System_CAPS_protmethodOnAuthorizeWebPart(WebPartAuthorizationEventArgs)

Raises the AuthorizeWebPart event and invokes a handler for the event, if one exists.

System_CAPS_protmethodOnBubbleEvent(Object, EventArgs)

Determines whether the event for the server control is passed up the page's UI server control hierarchy.(Inherited from Control.)

System_CAPS_protmethodOnConnectionsActivated(EventArgs)

Raises the ConnectionsActivated event to indicate that a page and its controls are loaded, and connections on the page have been activated to begin sharing data.

System_CAPS_protmethodOnConnectionsActivating(EventArgs)

Raises the ConnectionsActivating event to indicate that a page and its controls have loaded, and the process of activating connections can begin.

System_CAPS_protmethodOnDataBinding(EventArgs)

Raises the DataBinding event.(Inherited from Control.)

System_CAPS_protmethodOnDisplayModeChanged(WebPartDisplayModeEventArgs)

Raises the DisplayModeChanged event to indicate that the WebPartManager control has completed the process of switching from one display mode to another on a Web page.

System_CAPS_protmethodOnDisplayModeChanging(WebPartDisplayModeCancelEventArgs)

Raises the DisplayModeChanging event to indicate that the WebPartManager control is in the process of switching from one display mode to another on a Web page.

System_CAPS_protmethodOnInit(EventArgs)

Raises the Init event, which is the first event in the WebPartManager control life cycle.(Overrides Control.OnInit(EventArgs).)

System_CAPS_protmethodOnLoad(EventArgs)

Raises the Load event.(Inherited from Control.)

System_CAPS_protmethodOnPreRender(EventArgs)

Raises the PreRender event, which occurs just before a WebPartManager control is rendered on a Web page. (Overrides Control.OnPreRender(EventArgs).)

System_CAPS_protmethodOnSelectedWebPartChanged(WebPartEventArgs)

Raises the SelectedWebPartChanged event, which occurs after a WebPart control has either been newly selected or had its selection cleared.

System_CAPS_protmethodOnSelectedWebPartChanging(WebPartCancelEventArgs)

Raises the SelectedWebPartChanging event, which occurs during the process of changing which WebPart control is currently selected.

System_CAPS_protmethodOnUnload(EventArgs)

Raises the base Unload event and removes the WebPartManager instance from a Web page.(Overrides Control.OnUnload(EventArgs).)

System_CAPS_protmethodOnWebPartAdded(WebPartEventArgs)

Raises the WebPartAdded event, which occurs after a WebPart control has been added to a page.

System_CAPS_protmethodOnWebPartAdding(WebPartAddingEventArgs)

Raises the WebPartAdding event, which occurs during the process of adding a WebPart control (or a server or user control) to a WebPartZoneBase zone.

System_CAPS_protmethodOnWebPartClosed(WebPartEventArgs)

Raises the WebPartClosed event to signal that a control has been removed from a page.

System_CAPS_protmethodOnWebPartClosing(WebPartCancelEventArgs)

Raises the WebPartClosing event, which occurs during the process of a WebPart or server control being removed from a page.

System_CAPS_protmethodOnWebPartDeleted(WebPartEventArgs)

Raises the WebPartDeleted event, which occurs after a WebPart control has been permanently deleted from a page.

System_CAPS_protmethodOnWebPartDeleting(WebPartCancelEventArgs)

Raises the WebPartDeleting event, which indicates that a dynamic WebPart control (or server or user control that is contained in a WebPartZoneBase zone) is in the process of being deleted.

System_CAPS_protmethodOnWebPartMoved(WebPartEventArgs)

Raises the WebPartMoved event, which occurs after a WebPart control has been moved to a different location on a page.

System_CAPS_protmethodOnWebPartMoving(WebPartMovingEventArgs)

Raises the WebPartMoving event, which indicates that a WebPart or server or user control in a WebPartZoneBase zone is in the process of being moved.

System_CAPS_protmethodOnWebPartsConnected(WebPartConnectionsEventArgs)

Raises the WebPartsConnected event, which occurs after a connection has been established between WebPart controls.

System_CAPS_protmethodOnWebPartsConnecting(WebPartConnectionsCancelEventArgs)

Raises the WebPartsConnecting event, which occurs during the process of establishing a connection between two WebPart or server or user controls contained in a WebPartZoneBase zone.

System_CAPS_protmethodOnWebPartsDisconnected(WebPartConnectionsEventArgs)

Raises the WebPartsDisconnected event, which occurs after a connection between WebPart controls has ended.

System_CAPS_protmethodOnWebPartsDisconnecting(WebPartConnectionsCancelEventArgs)

Raises the WebPartsDisconnecting event, which indicates that two WebPart or server or user controls in a WebPartZoneBase zone are in the process of ending a connection.

System_CAPS_protmethodOpenFile(String)

Gets a Stream used to read a file.(Inherited from Control.)

System_CAPS_protmethodRaiseBubbleEvent(Object, EventArgs)

Assigns any sources of the event and its information to the control's parent.(Inherited from Control.)

System_CAPS_protmethodRegisterClientScript()

Enables the WebPartManager control to emit client-side script that is used for various personalization features, such as dragging WebPart controls in a Web page.

System_CAPS_protmethodRemovedControl(Control)

Called after a child control is removed from the Controls collection of the Control object.(Inherited from Control.)

System_CAPS_protmethodRender(HtmlTextWriter)

Overridden to prevent the WebPartManager control from rendering any content.(Overrides Control.Render(HtmlTextWriter).)

System_CAPS_protmethodRenderChildren(HtmlTextWriter)

Outputs the content of a server control's children to a provided HtmlTextWriter object, which writes the content to be rendered on the client.(Inherited from Control.)

System_CAPS_pubmethodRenderControl(HtmlTextWriter)

Outputs server control content to a provided HtmlTextWriter object and stores tracing information about the control if tracing is enabled.(Inherited from Control.)

System_CAPS_protmethodRenderControl(HtmlTextWriter, ControlAdapter)

Outputs server control content to a provided HtmlTextWriter object using a provided ControlAdapter object.(Inherited from Control.)

System_CAPS_protmethodResolveAdapter()

Gets the control adapter responsible for rendering the specified control.(Inherited from Control.)

System_CAPS_pubmethodResolveClientUrl(String)

Gets a URL that can be used by the browser.(Inherited from Control.)

System_CAPS_pubmethodResolveUrl(String)

Converts a URL into one that is usable on the requesting client.(Inherited from Control.)

System_CAPS_protmethodSaveControlState()

Saves state data for the WebPartManager control so the data can be restored on future request to the Web page that contains the control.(Overrides Control.SaveControlState().)

System_CAPS_protmethodSaveCustomPersonalizationState(PersonalizationDictionary)

Saves custom personalization state data maintained by the WebPartManager control, so that this data can be reloaded whenever the page is reloaded.

System_CAPS_protmethodSaveViewState()

Saves any server control view-state changes that have occurred since the time the page was posted back to the server.(Inherited from Control.)

System_CAPS_protmethodSetDesignModeState(IDictionary)

Sets design-time data for a control.(Inherited from Control.)

System_CAPS_protmethodSetPersonalizationDirty()

Sets a flag indicating that custom personalization data for the WebPartManager control has changed.

System_CAPS_pubmethodSetRenderMethodDelegate(RenderMethod)

This API supports the product infrastructure and is not intended to be used directly from your code. Assigns an event handler delegate to render the server control and its content into its parent control.(Inherited from Control.)

System_CAPS_protmethodSetSelectedWebPart(WebPart)

Sets the SelectedWebPart property value equal to the currently selected WebPart or server control.

System_CAPS_pubmethodSetTraceData(Object, Object)

Sets trace data for design-time tracing of rendering data, using the trace data key and the trace data value.(Inherited from Control.)

System_CAPS_pubmethodSetTraceData(Object, Object, Object)

Sets trace data for design-time tracing of rendering data, using the traced object, the trace data key, and the trace data value.(Inherited from Control.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

System_CAPS_protmethodTrackViewState()

Applies personalization state data to the WebPartManager control, and calls the base method to enable tracking changes to the view-state data for the control.(Overrides Control.TrackViewState().)

NameDescription
System_CAPS_pubmethodEnableDynamicData(Type)

Overloaded. Enables Dynamic Data behavior for the specified data control.(Defined by DataControlExtensions.)

System_CAPS_pubmethodEnableDynamicData(Type, IDictionary<String, Object>)

Overloaded. Enables Dynamic Data behavior for the specified data control.(Defined by DataControlExtensions.)

System_CAPS_pubmethodEnableDynamicData(Type, Object)

Overloaded. Enables Dynamic Data behavior for the specified data control.(Defined by DataControlExtensions.)

System_CAPS_pubmethodFindDataSourceControl()

Returns the data source that is associated with the data control for the specified control.(Defined by DynamicDataExtensions.)

System_CAPS_pubmethodFindFieldTemplate(String)

Returns the field template for the specified column in the specified control's naming container.(Defined by DynamicDataExtensions.)

System_CAPS_pubmethodFindMetaTable()

Returns the metatable object for the containing data control.(Defined by DynamicDataExtensions.)

System_CAPS_pubmethodGetDefaultValues()

Overloaded. Gets the collection of the default values for the specified data control.(Defined by DynamicDataExtensions.)

System_CAPS_pubmethodGetMetaTable()

Overloaded. Gets the table metadata for the specified data control.(Defined by DynamicDataExtensions.)

System_CAPS_pubmethodSetMetaTable(MetaTable)

Overloaded. Sets the table metadata for the specified data control.(Defined by DynamicDataExtensions.)

System_CAPS_pubmethodSetMetaTable(MetaTable, IDictionary<String, Object>)

Overloaded. Sets the table metadata and default value mapping for the specified data control.(Defined by DynamicDataExtensions.)

System_CAPS_pubmethodSetMetaTable(MetaTable, Object)

Overloaded. Sets the table metadata and default value mapping for the specified data control.(Defined by DynamicDataExtensions.)

System_CAPS_pubmethodTryGetMetaTable(MetaTable)

Overloaded. Determines whether table metadata is available.(Defined by DynamicDataExtensions.)

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodIControlDesignerAccessor.GetDesignModeState()

For a description of this member, see IControlDesignerAccessor.GetDesignModeState.(Inherited from Control.)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIControlDesignerAccessor.SetDesignModeState(IDictionary)

For a description of this member, see IControlDesignerAccessor.SetDesignModeState. (Inherited from Control.)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIControlDesignerAccessor.SetOwnerControl(Control)

This API supports the product infrastructure and is not intended to be used directly from your code. For a description of this member, see IControlDesignerAccessor.SetOwnerControl. (Inherited from Control.)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIParserAccessor.AddParsedSubObject(Object)

For a description of this member, see IParserAccessor.AddParsedSubObject. (Inherited from Control.)

System_CAPS_pubinterfaceSystem_CAPS_privmethodIPersonalizable.Load(PersonalizationDictionary)

Returns previously saved custom personalization state data that needs to be loaded to the WebPartManager control.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIPersonalizable.Save(PersonalizationDictionary)

Saves custom personalization state data that is managed by the WebPartManager control.

Return to top
Show: