AjaxCheckboxList - Prevent removing all
I see your sample
https://demo.aspnetawesome.com/AjaxCheckboxListDemo#Multiselect-Combo
I need to prevent user delete ALL items, At least one must remain !
How can do it ?
Meccanica Rossi
asked
at 05 Sep 2018
Answers
-
you can handle the
change
event and add a default item as the selected value when value is emptyOmuanswered at 05 Sep 2018