This documentation is archived and is not being maintained.

Sys.WebForms.PageRequestManager endRequest Event

Visual Studio 2008

Raised after an asynchronous postback is finished and control has been returned to the browser.

Sys.WebForms.PageRequestManager.getInstance().add_endRequest(endRequestHandler)
Sys.WebForms.PageRequestManager.getInstance().remove_endRequest(endRequestHandler)

Term

Definition

endRequestHandler

The name of the handler method that will be called.

The endRequest event is raised after an asynchronous postback is finished and control has been returned to the browser. You can use this event to provide a notification to users or to log errors.

For more information about the PageRequestManager event model, see Working with PageRequestManager Events.

The following example shows how to use the endRequest event to notify the user when an error has occurred during a partial-page update.

No code example is currently available or this language may not be supported.
Show: