I have one page with ajax tab container and the content of the tabcontainer should be place in different pages.For this i have used the following code
<asp:Tabcontainer ID="Tabcontainer1" runat="server" AutoPostBack="true" OnActiveTabChanged="tabChanged">
<asp:TabPanel ID="panel1" runat="server" HeaderText="Panel1" >
<ContentTemplate>
<asp:ContentPlaceHolder ID="Panel1content" runat="server" >
</asp:ContentPlaceHolder>
</ContentTemplate>
</asp:TabPanel>
<asp:TabPanel ID="Panel2" runat="server" HeaderText="Panel2">
<ContentTemplate>
<asp:ContentPlaceHolder ID="Panel2content" runat="server">
</asp:ContentPlaceHolder>
</ContentTemplate>
</asp:TabPanel>
<asp:TabPanel ID="Panel3" runat="server" HeaderText="Panel3">
<ContentTemplate>
<asp:ContentPlaceHolder ID="Panel3content" runat="server" >
</asp:ContentPlaceHolder>
</ContentTemplate>
</asp:TabPanel>
</asp:Tabcontainer>
In the content page of the master page i have placed the content.
Example one content page is as follows:
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<asp:Content ID="head" ContentPlaceHolderID="head" runat="server" ></asp:Content>
<asp:Content ID="body" runat="server" ContentPlaceHolderID="Panel1content">
<asp:Label ID="Lbl1" runat="server" Text="Panel1"></asp:Label>
</asp:Content>
Second content page is as follows:
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<asp:Content ID="head" ContentPlaceHolderID="head" runat="server" >
</asp:Content>
<asp:Content ID="body" runat="server" ContentPlaceHolderID="Panel2content">
<asp:Label ID="Lbl1" runat="server" Text="Panel2"></asp:Label>
</asp:Content>
third content page is as follows:
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<asp:Content ID="head" ContentPlaceHolderID="head" runat="server" >
</asp:Content>
<asp:Content ID="body" runat="server" ContentPlaceHolderID="Panel3content">
<asp:Label ID="Lbl1" runat="server" Text="Panel3"></asp:Label>
</asp:Content>
The problem is that when tried to open the individual pages it is working fine but when navigating to other tab panel from the same page the content in the tab panel is not displayed. How to solve this issue??
Please Help me !!..
Thanks In Advance...
Sushmaja Arumalla.