title: Asp.net mvc Parent/Child Create/Update View
body: <p>What is the best practice for creating/updating the data using the following pseudo view:</p>
  
  <pre><code>parent name field
  parent description field
  
  table with child data:
      existing fields
      fields for child[1] with existing data
      fields for child[2] with existing data
      empty field[1] for a new child
      [add new child button (just creates the fields. no server contact)]
  
  [save everything button]
  </code></pre>
  
  <p>Is there a best practice for child field naming conventions, how to load up some models in the controller, checking for updated data in the existing child models, so you're not just clearing out all of the children and then adding them again, etc. Lets assume I'm using linq to sql for my models. It doesn't seem like you can automatically bind the values (not the child ones anyway), and I'm sure there are some hacky ways to get the job done. But what's the best way?</p>