Client-Side API Availability for a Web Control
- 2 minutes to read
Certain DevExpress web controls provide a public client-side API, but do not expose the EnableClientSideAPI property. This means that the client-side API is only available for controls that do not have this property.
Note that a web control’s client API becomes available automatically if the control’s ClientInstanceName property is defined, or any client-side event (available via the ClientSideEvents property) is handled.
A client-side API member does not work if its corresponding element is not initialized on the server side. For example, if an item image is not specified on the server side, its corresponding element is not rendered on the client side. In this particular instance, the item’s SetItemImage method is not in effect.