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

How to change colour of SelectedTab using RadTabStrip

1 Answer 647 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Manishkumar
Top achievements
Rank 1
Manishkumar asked on 20 Jan 2011, 03:41 PM
Hi;
We have implemented the RadTabStrip but we need to change the background color when user has selected the tab.
We have tried using "SelectedCssClass" but it does not change the complete background.
Can you please Tell how we can able to change this.
We require this ASAP.

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 21 Jan 2011, 05:08 AM
Hello Manish,

Since RadStrip uses images, we cannot apply the color directly. One suggestion is to create custom images and try overriding the default CSS. Here is the sample CSS.

CSS:
.rtsSelected, .rtsSelected span
        {
           background:url(../Images/btnUpdate.jpg) no-repeat 0 100%  !important;
           background-color: red !important;
           text-align: center;
        }

Thanks,
Shinu.
Tags
General Discussions
Asked by
Manishkumar
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or