Click here to Skip to main content
15,909,953 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi Evrybody,

Now i implement my project to display in tab wise. for that i move to ajax tab control. But when i run my code nothing to displayed. This is my sample code can any one give me some suggestion out of this.
HTML
<ajaxToolkit:TabContainer ID="TabContainer1"  runat="server"
    OnClientActiveTabChanged="ClientFunction"
    Height="371px" Width="100%" ActiveTabIndex="0"
    OnDemand="true" AutoPostBack="true" TabStripPlacement="Top"
    CssClass="ajax__tab_xp" ScrollBars="None" UseVerticalStripPlacement="true"
    VerticalStripWidth="120px"
     önActiveTabChanged="TabContainer1_ActiveTabChanged" >
    <ajaxToolkit:TabPanel ID="TabPanel1" HeaderText="View Change Control" Enabled="true"  runat="server" ScrollBars="Auto">
        <ContentTemplate>
          ........
        </ContentTemplate>
    </ajaxToolkit:TabPanel>
    <ajaxToolkit:TabPanel  runat="server" ID="TabPanel2" HeaderText="Generate New Change Control"
        Enabled="true" ScrollBars="Auto"  önDemandMode="Once">
        <ContentTemplate>
        ......
     </ContentTemplate>
    </ajaxToolkit:TabPanel>
</ajaxToolkit:TabContainer>


Note: Here i'm using Master page in my master already i have script manager control.
Posted
v2
Comments
Do you have all the necessary events and css registered to the Master Page.

Check is there are any errors in FireBug console tab of FireFox.
Naveen.Sanagasetti 19-Aug-13 9:43am    
Here, im using OnActiveTabChanged event only so that is available in my code behind. And if Cssclass is available or not there is no impact due to CSS class right..?
I tried to delete that CssClass also .But no use...
You should link the css in Master Page and specify the class in ajaxToolkit:TabContainer.
Naveen.Sanagasetti 19-Aug-13 9:50am    
Ok i try to remove that CSSClass then also it's not working. Css class is used for Styling purpose only nooo. I don't want style that's the reason i remove that CssClass and try again but no result.
I am not asking to remove. I am asking to keep that and also link the css file in which the class ajax__tab_xp is present.

I mean to say, that you need to have everything linked to the Master Page for the TabPanel, if you want it to work.

Did you check that FireBug Console?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900