Dropdownlist goes to default value after selecting another value

Firex

New Member
I have created a dropdownlist in Visual Studio 2010. I have code setup such that when I click on a certain value in the list, textboxes become visible. Then, I can insert values into the textboxes, click insert, and the values will be stored into my database.The Problem: My dropdownlist has the values (in order: "Select A Value", "Value 1", "Value 2", "Value 3".When selecting Value 1, the correct textboxes appear underneath the dropdownlist, but the value of the dropdownlist defaults to "Select A Value". Thus, when I insert my data, "Select A Value" appears in my database (BAD!!). The only way I have found to fix this is to click on a value twice. Only then does the dropdownlist value stay as the value selected.I would like to click on the dropdownlist value only ONCE, and have the value stay set. What am I not doing correctly?Thank you!!!
 
Back
Top