Sys.WebForms.PageRequestManager pageLoaded Event
Raised after all content on the page is refreshed as a result of either a synchronous or an asynchronous postback.
Syntax
Sys.WebForms.PageRequestManager.getInstance().add_pageLoaded(pageLoadedHandler)
Sys.WebForms.PageRequestManager.getInstance().remove_pageLoaded(pageLoadedHandler)
|
Term
|
Definition
|
|
pageLoadedHandler
|
The name of the handler method that will be called.
|
Remarks
The pageLoaded event is raised after all content on the page is refreshed, whether it was refreshed because of a synchronous (full-page) postback or an asynchronous postback. 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 PageRequestManager Events.
Example
The following example shows how to use the pageLoaded event and animate a region of the page that was updated by using a partial-page update.