Expandir Minimizar
Este artigo foi traduzido por máquina. Coloque o ponteiro do mouse sobre as frases do artigo para ver o texto original. Mais informações.
Tradução
Original
Este tópico ainda não foi avaliado como - Avalie este tópico

WebPartManager.OnWebPartClosing Método

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

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

protected virtual void OnWebPartClosing(
	WebPartCancelEventArgs e
)

The OnWebPartClosing method raises the WebPartClosing event to indicate that a control is in the process of being closed or removed from a page.O método também oferece a opção de cancelar o processo de fechamento.If the control is successfully removed from the page, the WebPartClosed event follows.

Page developers can provide a custom handler for the associated event by adding the OnWebPartClosinging attribute to the <asp:webpartmanager> element on a Web page, and then assigning a custom method name to the attribute.

OBSERVAÇÕES PARA Inheritors:

Developers who create derived WebPartManager classes can override the OnWebPartClosing method to customize the event handling.

Isso foi útil para você?
(1500 caracteres restantes)

Contribuições da comunidade

ADICIONAR
© 2013 Microsoft. Todos os direitos reservados.