Hello, I have a web form that has 2 dropdownlist controls. When the user selects a value from the ddlPosition, the ddlName dropdown will be populated with names from an SQL database that corresponds with the position in the ddlPosition. This is occuring
in the SelectedIndexChanged event. That is all working correctly.
I am trying to add a default value to the ddlName. The process is as follows:
1. User selects postion from ddlPosition
2. ddlName will be populated with names that have that postion but a "Select One" will be the default selection that displays when ddlPosition is changed.
3. The user will then select the name from the ddl which will popualte the remaining fields based on their selection.
I have everything working but the ddlName populates with the first name from the database that matched the postion.
Here is my ddl:
<asp:DropDownList ID="dd ...
Go to the complete details ...