Hi Cornel,
Thanks for contacting Syncfusion support,
You can dynamically change the property value from code behind by creating instance of the control. To showcase this, here we have changed the CheckBox “checked” property(API) value programmatically using the toggleButton’s client side change event
Please refer the below code sample
var btnObj; $(document).ready(function () { btnObj = $("#CheckBoxRefreshed").data("ejCheckBox"); }); function tglebtnChange(e) { //toggleButton’s client side Change event //checkbox object (instance) creation to access the checkbox propertyies if (e.isChecked) btnObj.option("checked", true); // change the checked property as true by using checkbox object else btnObj.option("checked", false); // change the checked property as false by using checkbox object } |
Regards,
Sureshkumar P