Hi @ManjulaKo,You don't need to move the events to XML. Instead, as you mentioned, currently, you have the script written on the click event. You will need to move the code logic to calculate the event so that it is triggered at runtime.In your XML you can simply pass the value for the checkbox as t...