You can enable/disable WebCombo in two ways, which are using property and Client-side API.
In this topic, you will learn how to enable/disable WebCombo using both ways.
To enable/disable WebCombo using property
- Open WebCombo Designer - Advanced Settings.
- Set Enabled to False in order to disable WebCombo.
- Set Enabled to True in order to enable WebCombo.
To enable/disable WebCombo using Client-side API
- Use the following code to disable combo:
JavaScript Copy Code //Disable WebCombo var combo = ISGetObject("WebCombo1"); combo.Disable();
- Use the following code to enable combo:
JavaScript Copy Code //Enable WebCombo var combo = ISGetObject("WebCombo1"); combo.Enable();