Reputation: 65
how do I avoid that an item in a C#-checkboxlist can be selected by clicking on the label? So, the state of the checkbox should only be changed by clicking onto the box, but not by clicking on the label.
Can anyone please give me a hint? Thanks a lot in advance.
Upvotes: 0
Views: 178
Reputation: 155
You can create a checkbox without text and add a seperate label next to the checkbox
Upvotes: 1