FormsView data bind goes wrong
<p>I got a fromview defined as following:</p>

<pre><code>     &lt;asp:TableCell&gt;
&lt;asp:UpdatePanel runat="server" id="UpdatePanel2" updatemode="Conditional"&gt;           
    &lt;ContentTemplate&gt;

    &lt;asp:FormView ID="LavenderRegion" AutoGenerateColumns="true" AutoGenerateEditButton="true" AutoGenerateSelectButton ="true" runat ="server"&gt;
        &lt;ItemTemplate&gt;

        &lt;/ItemTemplate&gt;    
    &lt;/asp:FormView&gt;

    &lt;/ContentTemplate&gt;
    &lt;/asp:UpdatePanel&gt;
     &lt;/asp:TableCell&gt;
</code></pre>

<p>and code behind like this:</p>

<pre><code>LavenderRegion = Model.GuiCreators.CreateFormsView(data);
       LavenderRegion.DataSource = data;
       LavenderRegion.DataBind();


 public partial class ItemTemplate : IBindableTemplate
        {
            public static FormView CreateFormsView(DataTable datatable)
        {
            FormView form = new FormView();
            form.ItemTemplate = new ItemTemplate();
            return form;
        }
</code></pre>

<p>when I run it the <code>LavenderRegion.DataBind();</code> line fails me beause <code>InstantiateIn(Control container)</code> gets as a parameter a <code>tablecell</code> when i excpect it to get the <code>FormView LavenderRegion</code></p>

<p>whats going on? </p>

<p>I cannot seem to find the tablecell my <code>InstantiateIn(Control container)</code>  function gets at all</p>
