I have a created a form using a user control. One of the dropdownlists in the form is populated after the user makes a specific selection from another dropdownlist...i.e. a dependent dropdown list. This is triggered using the SelectedIndexChanged event handler on the controllling dropdownlist.
The dependent dropdownlist gets populated correctly, but when I choose one of the options and go to submit the form, the dependent dropdown list is reset and doesn't maintain the selection that was made.
The controlling dropdown list ID is "level". The dependent dropdown list ID is "EnrollmentSize".
I've attached a text file copying the user control code and code-behind used in the form.
I thought it had something to do with EnableViewState, but that is set to true and has no bearing. Everytime I try to submit the form, the "EnrollmentSize" DDL is reset and doesn't maintain the option that is selected.
Thanks for any help.