I am trying to Clear a Checkbox list on my page. When i postback I want to clear some items, but this darn checkboxlist seems to be difficult for some reason. Here is what I have tried.
cbotheroptions.items.clear() 'Does not work
Following gives me an enumeration error.
For Each item As ListItem In cbOtherOptions.Items
cbOtherOptions.Items.Remove(item)
Next
Just want ot clear the checkbox list of allitems and then reload it. ????????
Thanks
Go to the complete details ...