Home / FAQ / ASP.NET / CheckBoxList / How to check if nothing is selected in a CheckBoxList without using a loop to parse through all the items
You can check if CheckBoxList.SelectedIndex equals to -1 which means nothing is selected.
Platform BlazorASP.NETWinFormsWPF.NET MAUI
Question *
Answer (Optional)
Email (Optional)
Email address is only for further clarification on your FAQ request. It will not be used for any other purpose.
Please leave this field empty.
Share with