checkboxlist selected=??

kaety

New Member
I've got a checkboxlist and i'm trying to go through the list and pick out the selected values but for some reason, I have no selected values.. check out the code...<BR><BR> arrLicense = New Collection()<BR> For x = 0 To chkList.Items.Count - 1<BR> If chkList.Items(x).Selected = True Then<BR> arrLicense.Add(chkList.Items(x).Value)<BR> End If<BR> Next<BR><BR>for some reason chkList.Items(x).selected is ALWAYS false no matter what. Am I supposed to make the checkboxlist autopostback?
 
Back
Top