FineUI 官方论坛
标题:
郁闷死了,VBOX布局,多了Runat="Server"竟然没有达到预期效果
[打印本页]
作者:
szjazz
时间:
2012-12-25 07:48
标题:
郁闷死了,VBOX布局,多了Runat="Server"竟然没有达到预期效果
<x:panel ID="Panel1" BodyPadding="5px" EnableBackgroundColor="true"
ShowBorder="true" ShowHeader="False" Title="Panel" Layout="VBox"
BoxConfigAlign="Stretch" BoxConfigPosition="Start" BoxConfigPadding="5" BoxConfigChildMargin="0 0 5 0" runat="server">
<Items>
<x:panel ID="taskPanel" runat="server" BodyPadding="5px" EnableBackgroundColor="true"
ShowBorder="true" ShowHeader="True" Title="待办事项" EnableCollapse="True" EnableLargeHeader="False"
Height="300" CssClass="pannal-margin">
<Items>
<x:contentpanel ID="ContentPanel1" runat="server" BodyPadding="5px" EnableBackgroundColor="true"
ShowBorder="true" ShowHeader="False" Title="ContentPanel">
<p>待办</p>
</x:contentpanel>
</Items>
</x:panel>
<x:panel ID="announcePanel" runat="server" BodyPadding="5px" EnableBackgroundColor="true"
ShowBorder="true" ShowHeader="true" Title="公告通知" EnableCollapse="True"
Height="300" CssClass="pannal-margin">
<Items>
<x:contentpanel ID="ContentPanel2" runat="server" BodyPadding="5px" EnableBackgroundColor="true"
ShowBorder="true" ShowHeader="False" Title="ContentPanel">
<p>公告</p>
</x:contentpanel>
</Items>
</x:panel>
<x:panel ID="newPanel" runat="server" BodyPadding="5px" EnableBackgroundColor="true"
ShowBorder="true" ShowHeader="true" Title="新闻" EnableCollapse="True"
Height="300" CssClass="pannal-margin">
<Items>
<x:contentpanel ID="ContentPanel3" runat="server" BodyPadding="5px" EnableBackgroundColor="true"
ShowBorder="true" ShowHeader="False" Title="ContentPanel">
<p>新闻</p>
</x:contentpanel>
</Items>
</x:panel>
</Items>
</x:panel>
复制代码
可是简单删除掉Runat="Server",则布局成功,之前也发现过有一例控件,只是设置的参数位置前后不一样,竟然也无法实现其效果,如果这是Bug,那会让人抓狂!
欢迎光临 FineUI 官方论坛 (https://fineui.com/bbs/)
Powered by Discuz! X3.4