Skip to main content

MVCxClientGlobalEvents.AddCallbackErrorHandler(handler) Method

Dynamically connects the MVCxClientGlobalEvents.CallbackError client event with an appropriate event handler function.

Declaration

static AddCallbackErrorHandler(
    handler: ASPxClientEvent<ASPxClientCallbackErrorEventHandler<MVCxClientGlobalEvents>>
): void

Parameters

Name Type Description
handler ASPxClientEvent<ASPxClientCallbackErrorEventHandler<MVCxClientGlobalEvents>>

A object containing the event handling function’s content.

Remarks

You can use the AddCallbackErrorHandler method to manually connect the MVCxClientGlobalEvents.CallbackError event with a specific handling function while operating on the client-side.

See Also