2PTTechnology

The platform that enables you to build rich, interactive communities
Welcome to 2PTTechnology Sign in | Join | Help
in Search

check if a CheckBoxList has anything selected

Last post 03-28-2007, 11:18 AM by pskobel. 0 replies.
Sort Posts: Previous Next
  •  03-28-2007, 11:18 AM 39

    check if a CheckBoxList has anything selected

    Example:

    if (chkProductCategories.SelectedIndex == -1)
    {
        lblError.Text = "At least one Product Category is required!";
        return;
    }
View as RSS news feed in XML
Powered by Community Server (Personal Edition), by Telligent Systems