Back to Devexpress

MVCxClientGlobalEvents.ControlsInitialized Event

aspnetmvc-js-mvcxclientglobalevents.md

latest1.5 KB
Original Source

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

ts
ControlsInitialized: ASPxClientEvent<ASPxClientControlsInitializedEventHandler<MVCxClientGlobalEvents>>

Event Data

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

PropertyDescription
isCallbackGets 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

MVCxClientGlobalEvents Class

MVCxClientGlobalEvents Members