Skip to main content
A newer version of this page is available. .

ASPxClientControlCollection.ControlsInitialized Event

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

Declaration

ControlsInitialized: ASPxClientEvent<ASPxClientControlsInitializedEventHandler<ASPxClientControlCollection>>

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 after all DevExpress controls have been initialized, but prior to them being displayed within the browser. This event fires after all ASPxClientControlBase.Init client events of DevExpress web controls.

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


ASPxClientControl.GetControlCollection().ControlsInitialized.AddHandler(function () {
     var now = new Date();
     now = now.getMonth() + 1 + "/" + now.getDate() + "/" + now.getFullYear();
     textBox.SetValue(now);
});
See Also