ASP.NET MVC3: Can you place and link an array of objects?

I am tasked with creating a form that allows the user to add one or more response groups to it. For example, they will make a selection from the drop-down list, which will then add another set of inputs to the form. They can repeat this process X times.

What is the best way to handle this in terms of server processing?

I understand that I could bind each item to a list, and then skip each list, knowing that every value in each list was "bound" by index.

But is there a better way? Hope this makes sense. I don't have an example code yet.

+5
source share

All Articles