Click here to Skip to main content
15,887,854 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I had created a set of tabs in an aspx page, when ever i click a tab in that set of tabs it need to change it to some x color after some time i clicked on another tab then the previous tab need to regain its previous color and the present clicked button need to change to x color.But the issue is when im clicking on another tab the previous tab which i clicked it doesnt change to previous color it remains with x color.

i may cofuse you but my exact point is when i try to click a tab it need to change to x color and need to get back to its previous color when i click on aonther tab.
so please help me..
Posted
Comments
JoCodes 18-Oct-13 1:19am    
Add your code what you have tried so far.. Also , specify which control you are using ? Is it a tabcontrol etc?
Anil Kumar Ch 18-Oct-13 2:58am    
Thanks JoCodes i got the solution for it

 
Share this answer
 
Comments
Anil Kumar Ch 18-Oct-13 2:57am    
Thanks it helps me alot
 
Share this answer
 
Comments
Anil Kumar Ch 18-Oct-13 2:57am    
Thanks for ur valuable information.
Deenuji 18-Oct-13 3:00am    
welcome:)
There are two properties in the tab container toolkit to control the style of the active tab.

C#
.ajax__tab_active .ajax__tab_inner
{


}
.ajax__tab_active .ajax__tab_outer
{


}


You can give all the N no of tabs the same color and by making use of the above properties it will automatically change the style for active tab.
 
Share this answer
 
v2
Comments
Anil Kumar Ch 18-Oct-13 2:57am    
Thanks for ur valuable information

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