Is there a way to disable an asp.net dropdown list from the vb code behind?
<select id="reassign_reason" name="reassign_reason">
This is the name of my drop down list and I tried this in the code behind in vb.net
reassign_reason.disabled = True
Thanks
You need the control to be a server side control if you want to be able to control it from your code behind.
To do so, add a
runat="server"attribute to the element.Then in your code behind: