title: Databinding in inner .ascx control and FormView
body: <p>I have ascx control inside FormView. What I would like is use syntax Bind inside ascx.
  Here is my page:</p>
  
  <pre><code>    &lt;asp:ObjectDataSource runat="server" ID="ods" TypeName="MyDS" SelectMethod="Get" UpdateMethod="Update" DataObjectTypeName="Ent"&gt;
      &lt;/asp:ObjectDataSource&gt;
      &lt;asp:FormView runat="server" DefaultMode="Edit" ID="fv1" DataSourceID="ods"&gt;
          &lt;EditItemTemplate&gt;
              &lt;uc1:WebUserControl ID="WebUserControl1" runat="server" /&gt;
              &lt;asp:Button runat="server" CommandName="Update" Text="Update"/&gt;
          &lt;/EditItemTemplate&gt;
      &lt;/asp:FormView&gt;
  </code></pre>
  
  <p>Here is WebUserControl.ascx:</p>
  
  <pre><code>&lt;asp:TextBox ID="txt1" runat="server" Text='&lt;%# Bind("Name") %&gt;' /&gt;
  </code></pre>
  
  <p>On selecting values into the TextBox everything works fine. Bind populates textbox with expected value. But when button "Update" pressed the ObjectDataSource's method Update gets instance of Ent with null instead Name, while entered text is expected.
  Just for test I have placed textbox into the .aspx and everything works fine.</p>
  
  <p>At last I have decompiled by reflector FormView, where ExtractRowValues looks failed since iterates only over direct children. Does anybody know how to work around with child bindings?</p>