Sys.Net.XmlHttpExecutor responseAvailable Property
Returns a value indicating whether the network request returned without being aborted or timing out.
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.
var rAvailable = MyExecutor.get_responseAvailable();
Return Value
true if the network request returned without being aborted or timing out; otherwise, false.
Remarks
The responseAvailable property returns true only if the network request sent to the underlying browser's XMLHTTP object returned successfully without being stopped or timing out. Otherwise, this method returns false.
Example
The following example shows how to use the responseAvailable property. This code is part of a complete example found in the Sys.Net.XmlHttpExecutor class overview.
if(executor.get_responseAvailable())
See Also
Reference
Sys.Net.WebRequestManager Class
Sys.Net.WebRequestExecutor Class