I’m quite confused by something. I’ve got 2 select lists, and if you choose an option in the first, I then load the 2nd with a certain set of options. I clear this out and repopulate it every time you change the selection in the first select element. Now, on postback, I need to know the value of the option that was selected in the 2nd select element, but it is always showing up as -1.
I’m sure I’m missing something fundamental and dumb on my part, but can anyone point me in the right direction?
I don’t actually see the code, but what is probably happening is that you are clearing it before actually looking at the value, probably in your Page_Load.