Nov 27, 2017, 2:59 AM
[CLOSED] Content vrs Items
Support,
When using a BorderLayout, i have historically always used <Items> for all the panels in my layout.
However, i want to create a control (ascx) to hold a South panel so i can reuse it in all my pages as needed.
I found that it impossible to cleanly add this control to my Items without first creating a parent container with "Content"
thanks,
/Z
When using a BorderLayout, i have historically always used <Items> for all the panels in my layout.
However, i want to create a control (ascx) to hold a South panel so i can reuse it in all my pages as needed.
I found that it impossible to cleanly add this control to my Items without first creating a parent container with "Content"
<ext:Panel runat="server" Layout="Border">
<Items>
<ext:Panel runat="server" Title="Tab 1" Region="North" />
<ext:Panel runat="server" Title="Tab 2" Region="South">
<Content>
<uc:TestUC runat="server" />
</Content>
</ext:Panel>
</Items>
</ext:Panel>
It seems that it works well if i remove the "Items" and only have a "Content" in my parent container.<ext:Panel runat="server" Layout="Border">
<Content>
<ext:Panel runat="server" Title="Tab 1" Region="North" />
<uc:TestUC runat="server" />
</Content>
</ext:Panel>
Are there any drawbacks to this?thanks,
/Z