WebFlyPostBackManager will give a response to client side whenever there is a request. Regardless, the state of WebFlyPostbackManager will give a response.
Follows are the list of events :
- OnResponse
Listen to all success and error type of responses. Executed when the WebFlyPostBackManager responses that the request is executed successfully or failed - OnResponseSuccess
Executed when the WebFlyPostBackManager responses that the request is executed successfully - OnError
Executed when the WebFlyPostBackManager responses that the request is invalid - OnTimeout
Executed when the WebFlyPostBackManager does not response in certain period of time defined in TimeoutInterval property
Additionally WebFlyPostBackManager allows AutoEventWireUp which will automatically wire the event for each function in MetaData Collection
For example:
FPBMan.GetString() will be attached with an event WebFlyPostBackManagerInstance_OnGetString()
function OnClientClick(controlId, parameter)
{
var FPBMan = ISGetObject("WebFlyPostBackManager1");
FPBMan.GetString();
}
function WebFlyPostBackManager1_OnGetString(returnValue)
{
alert("GetString result: " + unescape(returnValue));
}
Related Topics
{Overview}
{Features}