Back to Devexpress

ASPxSpreadsheet.EnableClientSideAPI Property

aspnet-devexpress-dot-web-dot-aspxspreadsheet-dot-aspxspreadsheet-160a4fa4.md

latest2.3 KB
Original Source

ASPxSpreadsheet.EnableClientSideAPI Property

Gets or sets a value that specifies whether the ASPxSpreadsheet can be manipulated on the client side in code.

Namespace : DevExpress.Web.ASPxSpreadsheet

Assembly : DevExpress.Web.ASPxSpreadsheet.v25.2.dll

NuGet Package : DevExpress.Web.Office

Declaration

csharp
[DefaultValue(false)]
public bool EnableClientSideAPI { get; set; }
vb
<DefaultValue(False)>
Public Property EnableClientSideAPI As Boolean

Property Value

TypeDefaultDescription
Booleanfalse

true, if the control’s client object model is fully available; false if no programmatic interface is available for the ASPxSpreadsheet on the client side.

|

Remarks

The EnableClientSideAPI property controls the availability of the client-side API for an ASPxSpreadsheet control.

An ASPxSpreadsheet control implements a comprehensive JavaScript 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 ensure 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 ASPxSpreadsheet.ClientInstanceName property is defined or any client event is handled.

See Also

ASPxSpreadsheet Class

ASPxSpreadsheet Members

DevExpress.Web.ASPxSpreadsheet Namespace