tab container

Last post 10-05-2007 4:36 AM by Jonathan Shen – MSFT. 3 replies.

Sort Posts:

  • tab container

    09-29-2007, 7:00 AM
    • Member
      3 point Member
    • cool.mugil
    • Member since 09-15-2007, 2:18 PM
    • Posts 27

    hai

    i had a tabcontainer.i want to do some server side events when tab index changed.but when i change the tabindex the tab container disappears.how to solve this.i am using ie 6 and asp.net 2.0.i had set the autopost back property of tabcontainer to true.

    please  sort this issue out.

    thanks in advance.

    regards

    mugil

    Filed under:
  • Re: tab container

    09-29-2007, 1:58 PM
    • Star
      8,978 point Star
    • dwhite
    • Member since 02-08-2007, 2:25 PM
    • Bristol, CT
    • Posts 1,422
  • Re: tab container

    10-04-2007, 10:19 AM

    Hi Mugil,

    Has your problem been resolved yet?  If yes, would you please mark it as "answered".  Otherwise, please provide your simple sample which contains your issue.  Generally, your problem is not occurred in your scene so we really need your code.

    Best regards,

    Jonathan

    Jonathan Shen
    Microsoft Online Community Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
  • Re: tab container

    10-05-2007, 4:36 AM
    Answer

    Hi Mugil,

    Here is an sample. Please compare it with yours.

    <%@ Page Language="C#" %>

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

    <script runat="server">

        protected void TabContainer1_ActiveTabChanged(object sender, EventArgs e)
        {

        }
    </script>
    <html xmlns="http://www.w3.org/1999/xhtml" >
    <head runat="server">
        <title>Untitled Page</title>
    </head>
    <body>
        <form id="form1" runat="server">
            <asp:ScriptManager ID="ScriptManager1" runat="server">
            </asp:ScriptManager>
            <ajaxToolkit:TabContainer ID="TabContainer1" runat="server" AutoPostBack="true" OnActiveTabChanged="TabContainer1_ActiveTabChanged">
                <ajaxToolkit:TabPanel ID="TabPanel1" runat="server">
                    <HeaderTemplate>
                        Tab1</HeaderTemplate>
                    <ContentTemplate>
                        <asp:Panel ID="Panel1" runat="server">
                        <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
                        </asp:Panel>
                    </ContentTemplate>
                </ajaxToolkit:TabPanel>
                <ajaxToolkit:TabPanel ID="TabPanel2" runat="server" >
                    <HeaderTemplate>
                        Tab2</HeaderTemplate>
                    <ContentTemplate>
                        <asp:Panel ID="Panel2" runat="server" Height="200" Width="100%" style="overflow:auto">
                        <br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
                        <asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
                        </asp:Panel>
                    </ContentTemplate>
                </ajaxToolkit:TabPanel>
            </ajaxToolkit:TabContainer>
        </form>
    </body>
    </html>
    If it doesn't work, please check your system environments. We suggest that you should upgrade your Ajax Control Toolkit to the latest version. (10618 or 10920).  

    Hope this helps.

    Best regards,

    Jonathan.

     
    Jonathan Shen
    Microsoft Online Community Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
Page 1 of 1 (4 items)