Partilhar via


Sys.WebForms.PageRequestManager pageLoading Event

Raised after the response from the server to an asynchronous postback is received but before any content on the page is updated.

Sys.WebForms.PageRequestManager.getInstance().add_pageLoading(pageLoadingHandler)
Sys.WebForms.PageRequestManager.getInstance().remove_pageLoading(pageLoadingHandler)

Parameters

Term

Definition

pageLoadingHandler

The name of the handler function that will be called.

Remarks

The pageLoading event is raised after the response from the server to an asynchronous postback is received but before any content on the page is updated. You can use this event to provide a custom transition effect for updated content.

For more information about the PageRequestManager event model, see Working with Partial-Page Rendering Events.

See Also

Reference

Sys.WebForms.PageRequestManager Class

Sys.WebForms.PageRequestManager pageLoaded Event