The problem I have is that even though I select a checkbox, it never shows it to me in the Visual Studio debugger, I can get all the values of the items but I only need the selected ones.
I do not want to use JavaScript.
Code VB
For i As Integer = 0 To Roles.Items.Count - 1
If Roles.Items(i).Selected Then
MiCargo.pAgregarRolCargo(Roles.Items(i).Value)
End If
Next
Could you help me? I do not know what happens.