title: How to use Telerik MVC Grid for brand new data (as child of one-to-many relationship)?
body: <p>I have the following entities:</p>
  
  <pre><code>create table Person (
      Id int primary key identity,
      Name varchar(80) not null
  )
  
  create table Contact (
      Id int primary key identity,
      PersonId int not null foreign key references Person(Id),
      Name varchar(80) not null,
      Relationship varchar(80) not null,
      Phone varchar(80) not null,
      Email varchar(80) not null
  )
  </code></pre>
  
  <p>I would like to make a form in ASP.NET to <em>add</em> a brand new person and their contacts all at once, using a textbox for the person’s name and <a href="http://demos.telerik.com/aspnet-mvc/grid/editingbatch" rel="nofollow">Telerik MVC Grid</a> for the contacts. E.g.,</p>
  
  <pre><code>&lt;%= Html.TextBoxFor(person =&gt; person.Name) %&gt;
  &lt;%= Html.Telerik().Grid&lt;EditableContact&gt;() %&gt;
  </code></pre>
  
  <hr>
  
  <p>However, since the person entity is not yet created until the form is submitted, how can Telerik Grid send data to the server when a contact record is added, edited, or deleted?</p>
  
  <p>Ideally, I would like to have everything (person’s name and all of their contacts) sent to the server upon submission of the form.</p>
  
  <hr>
  
  <p>Should I do something like <code>Session["UnsavedPerson"] = new Person();</code> when the view for the add-new-person-and-their-contacts page gets called?</p>