Dec 27, 2012, 11:48 AM
[CLOSED] Examples: Component Overview
You have an issue with the AccordionLayout with TreePanel section of the Component Overview Example on the current Ext.Net Examples page. Item1, Item2 and Item3 need to set Leaf="true" because when they are expanded an error occurs.
<%--
=============================================================
Accordion / Tree
=============================================================
--%>
<ext:Panel
runat="server"
Title="AccordionLayout with TreePanel"
Width="450"
Height="240"
X="690"
Y="830"
Layout="AccordionLayout"
DefaultBorder="false">
<Items>
<ext:TreePanel runat="server" Title="TreePanel" AutoScroll="true" EnableDD="true">
<Root>
<ext:Node Text="Root Node" Expanded="true">
<Children>
<ext:Node Text="Item 1" />
<ext:Node Text="Item 2" />
<ext:Node Text="Folder">
<Children>
<ext:Node Text="Item 3" />
</Children>
</ext:Node>
</Children>
</ext:Node>
</Root>
</ext:TreePanel>
<ext:Panel runat="server" Title="Item 2" BodyPadding="5" Html="Some content" />
<ext:Panel runat="server" Title="Item 3" BodyPadding="5" Html="Some content" />
</Items>
</ext:Panel>
Last edited by Daniil; Dec 27, 2012 at 12:06 PM.
Reason: [CLOSED]