0

页面加载时,TabPanel 中的所有 Panel 都会自动加载。我不想要它。单击此选项卡后如何加载面板?

           <ext:Panel runat="server" ID="pnlQLDB" Border="false" Layout="fit">
                <Items>
                    <ext:TabPanel ID="TabDB" Border="false" runat="server">
                        <Items>

                            <ext:Panel ID="panTest" Border="false" runat="server">
                                <Content>
                                    <uc:NHQH ID="NHQH" runat="server" />
                                </Content>
                            </ext:Panel>
                            <ext:Panel ID="panTest1" Border="false" runat="server">
                                <Content>
                                    <uc:NSQHCLY ID="NSQHCLY" runat="server" />
                                </Content>
                            </ext:Panel>
                            <ext:Panel ID="panTest2" Border="false" runat="server">
                                <Content>
                                    <uc:NSQTLS ID="NSQTLS" runat="server" />
                                </Content>
                            </ext:Panel>
                        </Items>
                    </ext:TabPanel>
                </Items>
            </ext:Panel>
4

1 回答 1

0

为此,您可以在或的事件上编写load功能。activateExt.tab.PanelExt.tab.Tab

于 2013-01-07T10:12:31.467 回答