Hi all,
Sorry to hijack the
thread but it is relevant - I too am having problems pre-populating a checkboxlist.
I have a List containing an enum of a type I defined called Role. I am trying to pre-populate a checkboxlist using the following code:
getRoles returns List<Role>, and I can see the list contains two entries, for example when I inspect the object: [ROLE_PROVIDER, ROLE_ADMIN]. Unfortunately, my check boxes are not pre-populated (i.e. none of them are checked).
Thanks in advance for reading. Kind regards,
James