0

I have multiple identical dropdownlists created by a @html helper. In each dropdown, there is one option which is named "Create a new one".

When I click this option, there is popup showing up and allows me to fill out infor and create a new option. I'm totally up to this part, and get it saved to database successfully.

But what I want is as soon as I close the popup, the newly created option will also show up to other dropdownlists. What should I do? examples are greatly appreciated.

gunr2171
  • 16,104
  • 25
  • 61
  • 88
Quang F
  • 13
  • 2

1 Answers1

0

I think you can try something like this: ASP.NET MVC Html.DropDownList populated by Ajax call to controller?

when close the popup, update the drop downs

Community
  • 1
  • 1
DevT
  • 1,411
  • 3
  • 16
  • 32