title: FormView on Object with IEnumerable property
body: <p>Person view model:</p>
  
  <pre><code>public class Person {
      public string Name { get; set; }
      public List&lt;Person&gt; Relatives { get; set; }
      public bool IsSelected { get; set; }
  }
  </code></pre>
  
  <p>I have an <code>asp:FormView</code> control on my page which contains an <code>asp:GridView</code> which is bound to a collection property on my <code>Person</code> class.</p>
  
  <pre><code>&lt;asp:FormView ID="ui_frmMain" runat="server" DefaultMode="Edit" OnCallingDataMethods="ui_frmMain_CallingDataMethods" SelectMethod="GetItems" UpdateMethod="UpdateItems" ItemType="Person"&gt;
      &lt;EditItemTemplate&gt;
          &lt;%# Item.Name %&gt;
          &lt;asp:GridView ID="..." runat="server" DataSource='&lt;%# Bind("Relatives") %&gt;' ItemType="Person"&gt;
               &lt;ItemTemplate&gt;
                          &lt;asp:TemplateField&gt;
                              &lt;ItemTemplate&gt;
                                  &lt;asp:CheckBox ID="Selected" runat="server" Checked='&lt;%# Bind("IsSelected") %&gt;' /&gt;
                              &lt;/ItemTemplate&gt;
                          &lt;/asp:TemplateField&gt;
               &lt;/ItemTemplate&gt;
          &lt;/asp:GridView&gt;
      &lt;EditItemTemplate&gt;
  &lt;/asp:FormView&gt;
  </code></pre>
  
  <p>I am using .Net 4.5 data binding to send my model back to the UpdateMethod <code>UpdateItems(Person person)</code> however the <code>Relatives</code> property is always null.</p>
  
  <p>Is there a way to:</p>
  
  <ul>
  <li>Two way bind from a gridview</li>
  <li>Bind the gridview's CheckBox to the <code>IsSelected</code> property on the model</li>
  </ul>