TabContainer Control : It provide the tab which contain the information which is easily handel by using this AJAX Control in our project. TabContainer control has some TabPanel which contain the specific name and related data.
TabPanel contain two main section <ContentTemplate> and <HeaderTamplate>
How we implement the Update Progress server control
Example:
Step1: we use the following control on aspx page
<div>
<%--Using ScriptManager or ToolkitScriptManager according toolkit version--%>
<asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
<%-- add the TabContainer--%>
<cc1:TabContainer ID="TabContainer1" runat="server" Height="100" Width="300">
<cc1:TabPanel runat="server">
<HeaderTemplate>News</HeaderTemplate>
<ContentTemplate>This is the news section</ContentTemplate>
</cc1:TabPanel>
<cc1:TabPanel runat="server">
<HeaderTemplate>Sports</HeaderTemplate>
<ContentTemplate>This is the sports section</ContentTemplate>
</cc1:TabPanel>
<cc1:TabPanel runat="server">
<HeaderTemplate>Media</HeaderTemplate>
<ContentTemplate>This is the media section</ContentTemplate>
</cc1:TabPanel>
</cc1:TabContainer>
</div>
Step2: Run the project
Output:

Leave Comment
2 Comments