2008-11-24 45 views

回答

1

設置的TabPanel的ActiveTabIndex 1在Page.Load處理程序:

protected void Page_Load(object sender, EventArgs e) 
{ 
    if (!IsPostBack) 
     TabPanel1.ActiveTabIndex = 1; 
} 

您還可以將其設置在標記:<aspToolkit:TabPanel ID="TabPanel1" runat="server" ActiveTabIndex="1">...</aspToolkit:TabPanel>

相關問題