I was wondering if anybody knows how to uncheck a checkbox in a web browser using VB.NET? I

Using the code .SetAttribute("checked", "true") will check a checkbox but using "false" will not uncheck it. I really need to figure this out, does anybody have any ideas?

Have you tried .SetAttribute("checked","0")?

This is for CheckedListBox:

For i = 0 To checkedListBoxName.Items.Count - 1 Step 1
    checkedListBoxName.SetChecked(i, True)

In ASP just write this code:

checkBox.Checked = True
Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.18 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.