I have this action:
public ActionResult Add([Bind(Include = "Title,Description")] product product2Add){ --SNIP-- }
I'm using a view model pattern where I've created a special "AddProduct_ViewModel" class that contains my product class and anything else I need in my view. That includes 2 dropdownlists; one that does a DB lookup of all the various product catagories, and another that lists the product suppliers.
When I do validation on my product that fails I cannot see how to easily save the state of my dropdownlists (without doing some lengthy db code). Is there a better way?