title: update a partial view using ajax and add elements to it
body: <p>I'm using ASP.Net MVC 4 (C#, Entity Framework Code First) and am in a need to have a table where the user clicks on an add button and I add a product to the list (table) for this I looked everywhere and finally found the following example here: </p>
  
  <p><a href="https://stackoverflow.com/questions/9465475/simple-ajax-in-asp-net-mvc-3-update-the-model-and-rerender-part">Simple Ajax in asp.net MVC 3, update the model and rerender part</a></p>
  
  <p>I got it to work just fine but I can't seem to get the current list (whatever is in IList in the example above) to get sent back to the action to add new rows to it. how can I do this? </p>
  
  <p>I've tried to use the convention <code>name="TheData[1].foo"</code> for example and accept <code>List&lt;TheData&gt;</code> as a parameter to the action and nothing seems to be working.</p>