I want to create dymanic controls in my ASP.NET MVC Project.
For example
My Model contains an IList<Product> Products. Every product in this list contains a new IList<ProductItem>.
Product item has properties Text and Value.
Now i want to create one DropDownList for every Products and every dropdownlist should contains items for ProductItem.
Is this possible with HtmlHelpers?
This is pretty straight forward.
In your controller
In your View:
… and then later on …