MVCxClientGlobalEvents.ControlsInitialized Event

Occurs on the client side after client object models of all DevExpress MVC extensions contained within the page have been initialized.

Declaration

ControlsInitialized: ASPxClientEvent<ASPxClientControlsInitializedEventHandler<MVCxClientGlobalEvents>>

Event Data

The ControlsInitialized event's data class is ASPxClientControlsInitializedEventArgs. The following properties provide information specific to this event:

Property Description
isCallback Gets a value that specifies whether a callback is sent during a controls initialization.

Remarks

The ControlsInitialized event occurs in the following cases:

  • When the browser initializes all DevExpress client objects but prior to their display in the browser. This event fires after all ASPxClientControlBase.Init client events of DevExpress MVC extensions.

  • If new extensions are obtained on a callback or an ajax request. In this case, the e.isCallback property value is true.

A handler of the ControlsInitialized event is the primary place to manipulate all DevExpress MVC extensions using their client-side APIs.

See Also