BennoDual
BennoDual

Reputation: 6259

Change Color of RadComboBox

When I use Office2007-Skin for the Telerik-Controls, the RadComboBox would have in normal-mode a blue color:

enter image description here

I am searching for a way, that the RadComboBox looks like:

enter image description here

I want only change the blue color of the whole RadComboBox.

I cannot change the Skin, because it is used/necessary for other controls.

Can I change this via styling?

Upvotes: 0

Views: 1900

Answers (2)

Veselin Vasilev
Veselin Vasilev

Reputation: 3793

Add these styles to your custom css file:

div.RadComboBox .rcbReadOnly .rcbInputCellLeft,
div.RadComboBox .rcbFocused .rcbReadOnly .rcbInputCellLeft,
div.RadComboBox .rcbHovered .rcbReadOnly .rcbInputCellLeft
{
  background-position: inherit;
}

It will override the default background of the combo input

Upvotes: 1

FeliceM
FeliceM

Reputation: 4199

You cannot change it via styling. If you like to change the colors of your control you should override the CSS in the style.

Here you can find the elements of the combobox. Do not forget to add !important in your CSS lines code otherwhise it may not work.

Upvotes: 0

Related Questions