This documentation is archived and is not being maintained.
WebPartManager Events
Visual Studio 2010
The WebPartManager type exposes the following members.
| Name | Description | |
|---|---|---|
|
AuthorizeWebPart | Occurs when the IsAuthorized method is called to determine whether a WebPart or server control can be added to a page. |
|
ConnectionsActivated | Occurs after all the current Web Parts connections on a page are not only connected, but have also begun actively sharing data between the consumer and provider controls involved in each connection. |
|
ConnectionsActivating | Occurs during the process of activating all the established Web Parts connections on a Web page. |
|
DataBinding | Occurs when the server control binds to a data source. (Inherited from Control.) |
|
DisplayModeChanged | Occurs after the current display mode on a Web Parts page has changed. |
|
DisplayModeChanging | Occurs after a user clicks a verb on a Web page that begins the process of changing to a different display mode. |
|
Disposed | Occurs when a server control is released from memory, which is the last stage of the server control lifecycle when an ASP.NET page is requested. (Inherited from Control.) |
|
Init | Occurs when the server control is initialized, which is the first step in its lifecycle. (Inherited from Control.) |
|
Load | Occurs when the server control is loaded into the Page object. (Inherited from Control.) |
|
PreRender | Occurs after the Control object is loaded but prior to rendering. (Inherited from Control.) |
|
SelectedWebPartChanged | Occurs after the selection of one WebPart control has changed and moved to another control on a Web page. |
|
SelectedWebPartChanging | Occurs during the process of changing which WebPart or server control is currently selected on a Web page. |
|
Unload | Occurs when the server control is unloaded from memory. (Inherited from Control.) |
|
WebPartAdded | Occurs after a dynamic WebPart or other server control has been added to a WebPartZoneBase zone, to indicate that the control was added successfully. |
|
WebPartAdding | Occurs during the process of adding a dynamic WebPart or other server control to a WebPartZoneBase zone. |
|
WebPartClosed | Occurs when a WebPart control (or server or user control) is removed from a page. |
|
WebPartClosing | Occurs during the process of removing a WebPart control (or server or user control) from a page. |
|
WebPartDeleted | Occurs after a WebPart or other server control has been deleted from a WebPartZoneBase zone. |
|
WebPartDeleting | Occurs during the process of permanently deleting an instance of a dynamic WebPart or other server control from a WebPartZoneBase zone. |
|
WebPartMoved | Occurs after a WebPart or server control has been moved to a different location on a Web page. |
|
WebPartMoving | Occurs during the process of moving a WebPart or other server control that is contained in a WebPartZoneBase zone. |
|
WebPartsConnected | Occurs after a specific connection has been established between WebPart controls (or server or user controls). |
|
WebPartsConnecting | Occurs during the process of creating a connection between WebPart controls (or server or user controls placed in a WebPartZoneBase zone). |
|
WebPartsDisconnected | Occurs after a connection between two WebPart or server controls has been terminated. |
|
WebPartsDisconnecting | Occurs during the process of ending the connection between previously connected WebPart or server controls. |
Show: