I am new to ASP.Net and I'm having trouble figuring out what needs to be where in my code. I have a webform with 2 listboxes and 2 checkboxes... When I check checkbox1 I want listbox1 to be disabled and checkbox2 to be disabled. Similarly, when I check checkbox2 I want listbox2 to be disabled and checkbox1 to be disabled. The code does not show any errors; however, when I run the Page everything appears as it is supposed to but when I check the boxes, nothing happens. What am I missing that will link the code on the .aspx.vb page to the objects on the .aspx page and make them work together?
Here is my code for Page1.aspx.vb:
Public Class LCPage1
Protected Sub AllClients_Click(ByVal sender As Object, ByVal e