onAjaxCallbackFailed

Arguments

eobject

An object passed to the event that contains the following properties:

xbasicFunctionNameCharacter

The name of the Xbasic function that was called.

ajaxEventCharacter

The name of the action that triggered the callback.

callbackIdCharacter

The callback ID.

Description

The onAjaxCallbackFailed will fire if the server does not send a response back to the client within the default timeout period that the client waits for a response.

var title = "Callback Failed";
var message = "<div>Callback ("+e.xbasicFunctionName+") failed. No response from server.</div>";

A5.msgBox.show(title,message,'o');