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

[Solved] How to set background color to dropdownlist

1 Answer 154 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Ravindra
Top achievements
Rank 1
Ravindra asked on 26 May 2011, 06:17 AM
Hi,
Is this possible?
i have a defeult theme 'vista' applied to the mvc site and i wanted to have a different background color to my telerik mvc dropdown control. can we do this? i'm trying to apply htmlattributes and dropdownattributes but no luck.

kindly help me resolving this issue

thanks in advance!

1 Answer, 1 is accepted

Sort by
0
Ravindra
Top achievements
Rank 1
answered on 27 May 2011, 06:47 AM
I figured it out the below way. just add the style in the partial page or in the page where the dropdown is being used

 
.t-header, .t-header .t-link
    {
       border-color:#a7bac5;
       background:#a6d9f4 url('Vista/sprite2.png') repeat-x 0 -752px; 
    }

Tags
ComboBox
Asked by
Ravindra
Top achievements
Rank 1
Answers by
Ravindra
Top achievements
Rank 1
Share this question
or