Asynchronous Postback
An asynchronous postback sends some page data to the server, receives a response, and updates a part of the page. Assume the following scenario for an asynchronous postback:
Note that the load event of the Application instance is raised after the PageRequestManagerpageLoadedevent and before its endRequest event.
- The page contains a ScriptManager control, and the control's SupportsPartialRendering andEnablePartialRendering properties are both true.
- The page contains an UpdatePanel control, and the control's ChildrenAsTriggers property is true.
- A button inside the UpdatePanel control initiates an asynchronous postback.
- A response from the server is returned successfully.
- The button inside the UpdatePanel is clicked, which initiates an asynchronous postback.
- The PageRequestManager instance raises the initializeRequest event.
- The PageRequestManager instance raises the beginRequest event.
- The request is sent to the server.
- The response is received by the client.
- The PageRequestManager instance raises the pageLoading event.
- The PageRequestManager instance raises the pageLoaded event.
- The Application instance raises the load event.
- The PageRequestManager instance raises the endRequest event.
Note that the load event of the Application instance is raised after the PageRequestManagerpageLoadedevent and before its endRequest event.
Multiple Asynchronous Postbacks
Multiple asynchronous postbacks can occur when users initiate a new request before a previously initiated request has finished processing on the server or in the browser. Assume the following scenario for multiple asynchronous postbacks:
- The page contains a ScriptManager control and the control's SupportsPartialRendering andEnablePartialRendering property are both true.
- The page contains an UpdatePanel control.
- A button inside the UpdatePanel control that initiates an asynchronous postback is clicked two times. The second click occurs while the server is processing the request initiated by the first click.
- A response to the first request is returned successfully from the server.
- A button inside the UpdatePanel is clicked, which initiates an asynchronous postback.
- The PageRequestManager instance raises the initializeRequest event.
- The PageRequestManager instance raises the beginRequest event.
- The request is sent to the server.
- The button is clicked again, which initiates a second asynchronous postback.
- The PageRequestManager instance raises the initializeRequest event for the second button click.
- The PageRequestManager instance raises the endRequest event for the first button click.
- The PageRequestManager instance raises the beginRequest event for the second button click.
- The request initiated by the second click is sent to the server.
- The response is received for the second click.
- The PageRequestManager instance raises the pageLoading event.
- The PageRequestManager instance raises the pageLoaded event.
- The Application instance raises the load event.
- The PageRequestManager instance raises the endRequest event.

