Nov 17, 2010, 7:20 PM
Nested layouts cause javascript rendering errors
The javascript code is bad for this example: (Caused by "button4")
<ext:Viewport ID="Viewport1" runat="server">
<Items>
<ext:BorderLayout ID="BorderLayout1" runat="server">
<West Collapsible="true" Split="true" MinWidth="175" MaxWidth="400" MarginsSummary="5 0 5 5"
CMarginsSummary="5 5 5 5">
<ext:BorderLayout runat="server" ID="container2">
<Center>
<Items>
<ext:Button ID="Button4" runat="server" Text="lala"></ext:Button>
</Items>
</Center>
</ext:BorderLayout>
</West>
<Center MarginsSummary="5 5 5 0">
<ext:TabPanel ID="TabPanel1" runat="server" ActiveTabIndex="0" Title="TabPanel" AnimCollapse="false"
AnimScroll="false" TabPosition="Bottom">
<Items>
<ext:Panel ID="Panel4" runat="server" Title="Tab 1" Layout="Fit">
<Items>
<ext:Panel runat="server">
<AutoLoad Url="http://www.google.com/" Mode="IFrame" />
</ext:Panel>
</Items>
</ext:Panel>
</Items>
</ext:TabPanel>
</Center>
</ext:BorderLayout>
</Items>
</ext:Viewport>
Am i doing something wrong?