Retaining checkboxlist state

Hello,

Considering we have a checkboxlist component with 5 options. A, B, C, D and E. If we select A and C and close the checkboxlist, the selected state goes away upon reopening the component. Is there any way to retain the selected state for the options which were selected in the previous session?

Thank you

CheckBoxList is a form component - you can simply bind it to a property which represents an array of values: