Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Mar 2006
    Posts
    80
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Validate if more than two items selected in CheckBoxList control?

    How can this be accomplished?

    I tried,

    if checkboxlist1.items(3).selected > 3 then
    'code here
    end if

    and a few other variations, but no luck.
    Please help.

  • #2
    New Coder
    Join Date
    Mar 2006
    Posts
    80
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by binici View Post
    How can this be accomplished?

    I tried,

    if checkboxlist1.items(3).selected > 3 then
    'code here
    end if

    and a few other variations, but no luck.
    Please help.
    Someone helped.

    http://forums.asp.net/AddPost.aspx?PostID=1592776

    Thanks!


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •