ASPxObjectContainer.EnableClientSideAPI Property
Gets or sets whether the object container can be manipulated on the client side in code.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.1.dll
NuGet Package: DevExpress.Web
Declaration
Property Value
Type | Default | Description |
---|---|---|
Boolean | false |
|
Remarks
The EnableClientSideAPI property controls the availability of the client-side API for the control.
The ASPxObjectContainer control implements a comprehensive JavaScript-written client-side object model (client API), allowing you to programmatically manipulate the control on the client.
If you want to use the control’s client-side API in your application, set the EnableClientSideAPI property to true, to make sure that the client API is available on the client side.
Note
Regardless of the EnableClientSideAPI property setting, the client-side API is automatically enabled if the ASPxObjectContainer.ClientInstanceName property is defined, or any client event exposed by the ASPxObjectContainer.ClientSideEvents property is handled.