Nov 20, 2009, 6:57 AM
loadrecord() on FormPanel doesn't bind fields in nested controls
When I apply loadrecord() to my FormPanel, the TextField binds just fine. However, the checkboxes inside the nested checkbox group control don't. Actually, I noticed that any field that resides inside a nested control will not bind.
<ext:FormPanel runat="server">
<Body>
<ext:FormLayout runat="server">
<ext:Anchor>
<ext:TextField ID="Key" runat="server" DataIndex="Key" />
</ext:Anchor>
<ext:Anchor>
<ext:CheckboxGroup runat="server">
<Items>
<ext:Checkbox runat="server" DataIndex="Read" />
<ext:Checkbox runat="server" DataIndex="Write" />
</Items>
</ext:CheckboxGroup>
</ext:Anchor>
</ext:FormLayout>
</Body>
</ext:FormPanel>
What do I have to do to make binding to the fields in nested controls work?