Originally Posted by
Vladimir
No, Layout property says that you want to use some particular layout logic. Layout logic and non Ext.Net controls is not supported combination.
Yes, sure. But it was said that the Content is not ruled by layout so I thought that it won't matter if the layout is defined or not...
Originally Posted by
Vladimir
We allow only some controls like user controls, content placeholder inside Content of container with Layout property (in this case we read widgets inside user control and consider it as Items of that container)
I see. Well, repeater worked well in v1.7 inside of content of the container with layout set...
Originally Posted by
Vladimir
I meant that Items and Content for one container should not be used at one time. Or Items, or Content. Not both
Well, they may be used together...
Originally Posted by
Vladimir
And if Layout is defined then Content will be considered as Items (to support case when items are defined inside user control or content placeholder)
The single case where you can use both Items and Content is situation when Content contains user controls with Ext.Net widgets only. In this case, items from Items and user controls will be combined
Well, ok. But if user control contains ext.Panel with items - what will be combined and which layout will be used?
I've found out that repeater in such a case
<ext:FormPanel Layout="FormLayout">
<Items>
<ext:Panel>
<Content>
<asp:Repeater>
is working correctly, which means that layout is not used on internal panel. So which layout will be used in such a case?
page:
<ext:Panel ID="A" Layout="FitLayout">
<Content>
<uc:myControl>
</Content>
<Items>
.....
</Items
</ext:Panel>
myControl:
<ext:Panel ID="B">
<Items>
.....
</Items>
</ext:Panel
?
Will items from the A panel be combined with Items from the B panel? Will they be layouted with fitlayout?
Originally Posted by
Vladimir
Why do you use Layout="Fit" in this case? Your non Ext.Net widgets will not be participated in layout logic
Because they were not rendered correctly without it - panels and controls were not sized correctly while switching tabs. But it was in the v1.7 and maybe it was fixed in 2.3, I'll check.
Originally Posted by
Vladimir
You can use Content as you need. Just combination Container with Layout and Content with non Ext.Net widgets is incorrect and cannot be used
Well, all of this should be documented really well. And since it worked in the v1.7 - some note should be put into BREAKING_CHANGES document.