Asp.net, vb.net, C#.net Resources

Welcome to Asp.net, vb.net, C#.net Resources Sign in | Join | Help
in Search

How to check if nothing is selected in a CheckBoxList without using a loop to parse through all the items?

Last post 08-22-2006, 5:51 AM by Webdeveloper. 1 replies.
Sort Posts: Previous Next
  •  08-21-2006, 6:16 AM 368

    How to check if nothing is selected in a CheckBoxList without using a loop to parse through all the items?

    How to check if nothing is selected in a CheckBoxList without using a loop to parse through all the items?
  •  08-22-2006, 5:51 AM 682 in reply to 368

    Re: 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.

View as RSS news feed in XML
Powered by Community Server, by Telligent Systems