ASP.NET MVC 2: Mechanics behind an Order / Order Line in a edit form
- by Dr. Zim
In this question I am looking for links/code to handle an IList<OrderLine> in an MVC 2 edit form. Specifically I am interested in sending a complete order to the client, then posting the edited order back to an object (to persist) using:
Html.EditorFor(m = m.orderlines[i]) (where orderlines is an enumerable object)
Editing an Order that has…