This is a migrated thread and some comments may be shown as answers.

Change css of unselected tab

1 Answer 68 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Reshma
Top achievements
Rank 1
Reshma asked on 18 Nov 2013, 07:21 AM
Hi,

I have radtabstrip with two(or many) tabs in it.
I want to change font weight of unselected tab.

How can i do that?I tried

function

 

 

fnTabUnselected(sender, eventArgs) {

 

 

 

var tab = eventArgs.get_tab();

 

 

 

var tabname = tab.get_text();

 

$(

 

"tab").addClass("unselect");

 

}
but not working...

1 Answer, 1 is accepted

Sort by
0
Magdalena
Telerik team
answered on 18 Nov 2013, 09:25 AM
Hi Reshma,

Thank you for contact us.

The easiest way to achieve the change of the styles in your project is by applying a stylesheet. Please, apply the following CSS code snippet to change font weight of no selected tab:
.RadTabStrip .rtsLI .rtsTxt {
    font-weight: 800;
}
.RadTabStrip .rtsLI .rtsSelected .rtsTxt {
    font-weight: normal;
}

Regards,
Magdalena
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Tags
General Discussions
Asked by
Reshma
Top achievements
Rank 1
Answers by
Magdalena
Telerik team
Share this question
or