Hello everybody,
I am having trouble getting the functionality we want in our Create View in our ASP.NET MVC application.
We have got two DropDownLists in our Create View.
One is a selection of categories and the second should be populated with items based on the id value of the first category selected. (They have a FK relationship).
Have you guys encountered any similar situation and can you give me some advice or a hint on how I can tackle this problem best?
- Should I create some specified ActionResult method for this?
- Or should I go with a
staticmethod in the Repository / Controller?
All help is more than appreciated!