Ajax Tab Control - Just using HTML

Posted on 2009-04-21
Last Modified: 2012-05-06
I have an ASP.NET 2.0 website with the AJAX Control Toolkit.
It works fine.
I have a TabContainer control on my page which also works fine.

It renders this HTML ...

<div id="tc1" class="ajax__tab_xp" style="color:Green;width:600px;visibility:hidden;">
                      <div id="tc1_header">
                            <span id="__tab_tc1_tp1">tp1</span>
                            <span id="__tab_tc1_tp2">tp2</span>
                            <span id="__tab_tc1_tp3">tp3</span>
                      <div id="tc1_body">
                            <div id="tc1_tp1">
                            <div id="tc1_tp2" style="display:none;visibility:hidden;">
                            <div id="tc1_tp3" style="display:none;visibility:hidden;">

However if I just put the HTML in my page it doesn't show the tabs.

Any ideas?

<cc1:TabContainer ID="tc1" runat="server" ForeColor="green" Backcolor="#e5efe3" Width="600">


                    <cc1:TabPanel ID="tp1" runat="server" HeaderText="tp1">




                    <cc1:TabPanel ID="tp2" runat="server" HeaderText="tp2">




                    <cc1:TabPanel ID="tp3" runat="server" HeaderText="tp3">






Open in new window

Question by:hmcgeehan
    LVL 3

    Accepted Solution

    from your style tags and it shd work fine

    Author Comment

    that didn't seem to work thanks

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Join & Write a Comment

    The Confluence of Individual Knowledge and the Collective Intelligence At this writing (summer 2013) the term API ( has made its way into the popular lexicon of the English language.  A few years ago, …
    OverviewThis article demonstrates a simple search form using AJAX. The purpose of the article is to demonstrate how to use the same code to render a page and javascript (JQuery) and AJAX to make subsequent calls to refine the results. The princip…
    Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
    Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now