在Ajax工具包中,您可以使用Tab容器並將TabPanel添加到此選項卡中。在多個選項卡中使用相同的asp面板
我有一些控件,我希望能夠跨所有選項卡使用,並根據需要定製其他控件的選項卡。
我的問題是如何在多個選項卡上重複使用面板? 基本上我是這樣的
<TabContainer>
<tabPanel1>
<contentTemplate>
<pnl1></pnl1>
//other controls here
</contentTemplate>
</tabPanel1>
<tabPanel2>
<contentTemplate>
<pnl1></pnl1>
//other controls here
</contentTemplate>
<tabPanel2>
</tabContainer>
<pnl1>
//some controls here
</pnl1>