Export (0) Print
Expand All

WebPartManager Events

  Name Description
Public event AuthorizeWebPart Occurs when the IsAuthorized method is called to determine whether a WebPart or server control can be added to a page.
Public event 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.
Public event ConnectionsActivating Occurs during the process of activating all the established Web Parts connections on a Web page.
Public event DataBinding  Occurs when the server control binds to a data source. (Inherited from Control.)
Public event DisplayModeChanged Occurs after the current display mode on a Web Parts page has changed.
Public event DisplayModeChanging Occurs after a user clicks a verb on a Web page that begins the process of changing to a different display mode.
Public event 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.)
Public event Init  Occurs when the server control is initialized, which is the first step in its lifecycle. (Inherited from Control.)
Public event Load  Occurs when the server control is loaded into the Page object. (Inherited from Control.)
Public event PreRender  Occurs after the Control object is loaded but prior to rendering. (Inherited from Control.)
Public event SelectedWebPartChanged Occurs after the selection of one WebPart control has changed and moved to another control on a Web page.
Public event SelectedWebPartChanging Occurs during the process of changing which WebPart or server control is currently selected on a Web page.
Public event Unload  Occurs when the server control is unloaded from memory. (Inherited from Control.)
Public event 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.
Public event WebPartAdding Occurs during the process of adding a dynamic WebPart or other server control to a WebPartZoneBase zone.
Public event WebPartClosed Occurs when a WebPart control (or server or user control) is removed from a page.
Public event WebPartClosing Occurs during the process of removing a WebPart control (or server or user control) from a page.
Public event WebPartDeleted Occurs after a WebPart or other server control has been deleted from a WebPartZoneBase zone.
Public event WebPartDeleting Occurs during the process of permanently deleting an instance of a dynamic WebPart or other server control from a WebPartZoneBase zone.
Public event WebPartMoved Occurs after a WebPart or server control has been moved to a different location on a Web page.
Public event WebPartMoving Occurs during the process of moving a WebPart or other server control that is contained in a WebPartZoneBase zone.
Public event WebPartsConnected Occurs after a specific connection has been established between WebPart controls (or server or user controls).
Public event WebPartsConnecting Occurs during the process of creating a connection between WebPart controls (or server or user controls placed in a WebPartZoneBase zone).
Public event WebPartsDisconnected Occurs after a connection between two WebPart or server controls has been terminated.
Public event WebPartsDisconnecting Occurs during the process of ending the connection between previously connected WebPart or server controls.
Top

Community Additions

ADD
Show:
© 2014 Microsoft