MVCxClientGlobalEvents.AddControlsInitializedEventHandler(handler) Method

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

Declaration

static AddControlsInitializedEventHandler(
    handler: ASPxClientEvent<ASPxClientControlsInitializedEventHandler<MVCxClientGlobalEvents>>
): void

Parameters

Name Type Description
handler ASPxClientEvent<ASPxClientControlsInitializedEventHandler<MVCxClientGlobalEvents>>

A object representing the event handling function’s content.

Remarks

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

See Also