<pre lang="HTML"><ajaxToolkit:TabContainer ID="TabContainer1" runat="server" Height="150px" Width="400px"> <ajaxToolkit:TabPanel ID="TabPanel1" runat="server" HeaderText="Signature and Bio"> <ContentTemplate> Test </ContentTemplate> </ajaxToolkit:TabPanel> <ajaxToolkit:TabPanel ID="TabPanel2" runat="server" HeaderText="Signature and Bio 2"> <ContentTemplate> Test </ContentTemplate> </ajaxToolkit:TabPanel> </ajaxToolkit:TabContainer>
protected void Page_Load(object sender, EventArgs e) { TabPanel2.Visible = false; //OR TabPanel2.Tabs[0].visible=false; //OR TabPanel2.Tabs[0].Enabled=false; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)