我用下面的代碼添加TabContainer的頁面ASP.NET - Ajax控件工具包 - TabContainer的總是隱藏
<asp:TabContainer ID="TabContainer1" runat="server">
<asp:TabPanel runat="server" HeaderText="tab one" ID="TabPanel0">
<ContentTemplate>
<asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
</ContentTemplate>
</asp:TabPanel>
<asp:TabPanel runat="server" HeaderText="tab two" ID="TabPanel1">
<ContentTemplate>
<asp:Button ID="Button1" runat="server" Text="Button" />
</ContentTemplate>
</asp:TabPanel>
</asp:TabContainer>
但當頁面呈現的TabPanel總是隱藏,我通過Firebug的wateched html代碼和發現可見性被隱藏......問題是什麼? http://i.stack.imgur.com/m1eSW.jpg
您在後面的代碼或JavaScript中做了任何事情,因爲它適用於我。 – 2011-03-28 19:30:37