Glossary Item Box
Object that contains list of ClientSideEvents function names that were set to WebAsynchronousPanel on server.
Error |
Fires when error occurs during asynchronous post back. Parameters oPanel
String. Reference to the JavaScript object that represents the WebAsyncRefreshPanel. oEventString. Reference to the event object. flagsString. Flags that represent the origin of the error.
function WebAsyncRefreshPanel1_Error(oPanel, oEvent, flags)
{
if(flags == 1)
alert("Exception on server. Before full postback.");
} |
InitializePanel |
Fires after WebAsyncRefreshPanel is initialized. Parameters oPanel
String. Reference to the JavaScript object that represents the WebAsyncRefreshPanel. |
RefreshComplete |
Fires after panel content is updated by asynchronous response. Parameters oPanel
String. Reference to the JavaScript object that represents the WebAsyncRefreshPanel. |
RefreshRequest |
Fires before asynchronous submit. Parameters oPanel
String. Reference to the JavaScript object that represents the WebAsyncRefreshPanel. oEventString. Reference to the event object. id String. ID of HTML element which triggered the post back action. function WebAsyncRefreshPanel1_RefreshRequest(oPanel, oEvent, id)
{
// cancel request when Button1 was clicked
if(id && id.length - 7 == id.indexOf('Button1'))
oEvent.cancel = true;
// keep request, but cancel response: notify server about Button2 click
if(id == 'Button2')
oEvent.cancelResponse = true;
// trigger full postback instead of asynchronous when Button3 was clicked
if(id == 'Button3')
oEvent.fullPostBack = true;
} |
RefreshResponse |
Fires before panel content is updated by asynchronous response. Parameters oPanel
String. Reference to the JavaScript object that represents the WebAsyncRefreshPanel. oEventString. Reference to the event object.
|