Mar 09, 2011, 2:38 PM
[CLOSED] How can I have a tab panel with multiple tabs with form fields having all of them share the same FormID?
How can I have a tab panel with multiple tabs, each tab containing form fields and have all form fields (acroll all tabs) share a single FormID?
I tried assigning the same FormID to multiple form panels but that obviously didn't work (just like multiple html form elements don't work with a single POST).
This is how far I got but the lay-out is all wrong (I actually see only 2% of the height of the form panel. Giving the form panel a fixed height makes things better but still its not ok (the background color is different, font sizes are off etc.).
I tried assigning the same FormID to multiple form panels but that obviously didn't work (just like multiple html form elements don't work with a single POST).
This is how far I got but the lay-out is all wrong (I actually see only 2% of the height of the form panel. Giving the form panel a fixed height makes things better but still its not ok (the background color is different, font sizes are off etc.).
<ext:Window ID="Window" runat="server" Modal="true" Closable="true" CloseAction="Close" AutoDataBind="true" Width="450" Height="400" Resizable="false">
<Content>
<ext:FormPanel ID="FormPanel" runat="server" FormID="UserForm" Border="false" LabelAlign="Left" BodyStyle="background-color: transparent;">
<Items>
<ext:BorderLayout runat="server">
<Center>
<ext:TabPanel runat="server" Border="false" BodyStyle="background-color: transparent;">
<Items>
<ext:Panel ID="FieldsPanel1" runat="server" Padding="4" Border="false" AutoScroll="true" BodyStyle="background-color: transparent;">
<Items>
<ext:TextField ID="UsernameTextField" runat="server" Name="Username" />
</Items>
</ext:Panel>
<ext:Panel ID="FieldsPanel2" runat="server" Padding="4" Border="false" AutoScroll="true" BodyStyle="background-color: transparent;">
<Items>
<ext:TextField ID="SurnameTextField" runat="server" Name="Surname" />
</Items>
</ext:Panel>
</Items>
</ext:TabPanel>
</Center>
</ext:BorderLayout>
</Items>
</ext:FormPanel>
</Content>
</ext:Window>
Last edited by geoffrey.mcgill; Mar 09, 2011 at 8:32 PM.
Reason: [CLOSED]