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

[Solved] CSS styling problem

3 Answers 154 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Markus
Top achievements
Rank 1
Markus asked on 02 May 2008, 02:30 PM
Hello!

I use follwing style to change text and backcolor of the radcombbox if disabled:
.RadComboBox_Outlook .rcbDisabled .rcbInputCell     
{  
    height12px !important;     
    line-height11px !important;   
    font:11px verdana,tahoma,helvetica !important;   
    color: Black !important;  
    padding: 0 !important;   
    background-colorred !important;   
}  
 

The backcolor will be shown correctly but the textcolor is gray and not black as defined. Why?

3 Answers, 1 is accepted

Sort by
0
Rosi
Telerik team
answered on 05 May 2008, 07:26 AM
Hello Markus,

When RadComboBox is disabled, a "disabled" attribute is rendered on the input field of RadComboBox. This is the reason why it cannot be styled under IE. The workaround is to simulate disabled behavior of
RadComboBox. Please find attached a project for a reference.

Regards,
Rosi
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Markus
Top achievements
Rank 1
answered on 05 May 2008, 10:24 AM
Thnaks for help, but thats a little bis complicate especial when I want to set "Eanbled" in code behind.
0
Rosi
Telerik team
answered on 05 May 2008, 10:54 AM
Hello Markus,

I understand the problem,but that is the best we can suggest. In other case -if you disabled RadComboBox, the text would not be styled  in IE. We hope this is not a major show stopper for you and we are sorry for the inconvenience this might be causing you.

Regards,
Rosi
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
ComboBox
Asked by
Markus
Top achievements
Rank 1
Answers by
Rosi
Telerik team
Markus
Top achievements
Rank 1
Share this question
or