Documentation for: ASP.NET Ajax Version 1.0

This documentation is for a previous version. For the current released version, see the ASP.NET Ajax documentation on MSDN.

 

 

 

 

 

 

 

Sys.WebForms.PageRequestManager isInAsyncPostBack Property

Returns a value that indicates whether the PageRequestManager object is processing a postback.

note

To get or set property values for client API properties, you must call property accessor methods that are named with the get_ and set_ prefixes. For example, to get or set a value for a property such as cancel, you call the get_cancel or set_cancel methods.

Syntax

var status = Sys.WebForms.PageRequestManager.getInstance().get_isInAsyncPostBack();

Remarks

You can use the isInAsyncPostBack property to define how the PageRequestManager class behaves when a user submits a postback multiple times on a page.

Example

The following example shows how to determine whether the PageRequestManager is currently processing a postback.