我有这段代码:
<ext:TabPanel ID="*" runat="server">
<Items>
<ext:Panel ID="panel1" runat="server" Title="*" Closable="false">
<Loader ID="*" runat="server" Url="*.aspx" Mode="Frame">
<LoadMask ShowMask="True" />
</Loader>
</ext:Panel>
<ext:Panel ID="panel2" runat="server" Title="*" Closable="false">
<Loader ID="*" runat="server" Url="*.aspx" Mode="Frame">
<LoadMask ShowMask="True" />
</Loader>
</ext:Panel>
<ext:Panel ID="panel3" runat="server" Title="*" Closable="false" Hidden="true">
<Loader ID="Loader" runat="server" Url="*.aspx" Mode="Frame">
<LoadMask ShowMask="True" />
</Loader>
</ext:Panel>
</Items>
</ext:TabPanel>
我需要将第一个面板设置为默认面板(加载页面时显示的面板)
答案 0 :(得分:0)
就这样做:
<ext:TabPanel ID="*" ActiveIndex="0" runat="server">