0
Answer

Formview and dropdownlist

Brian

Brian

16y
2.9k
1

Hello everyone. I have a question regarding formview and dropdownlist box. I will do my best to explain the scenario I am working with. I don't have any option to change this form now. I inherited this project so it is what it is for the most part!

I have a dropdownlist box for a user to select an item and make a change to that record. You can also select the "Create" button to add a new record. When selecting the Create button, a new textbox is displayed to allow the user to add a new record. After they type a name in that text box and click the Create button, that value will now show in the dropdownlist box. That all works perfectly. Now I need to have that value be the default value in the dropdown list box after it has added that record. (needs to be the selectedValue of the dropdownlist box)

Does anyone have samples of how to do this? Hopefully I explained the situation clearly! If not I appologize and will do what I can to make it more clear. Let me know.

Thanks!