Hello Ryan,
We recommend you to apply styling by stylesheet and by JavaScript apply only a CSS class that can be used as a CSS selector. You can apply a custom CSS class to the RadComboBox by the following:
After that you can apply color, border and background rules to the selector .RadComboBox.custom .rcbReadOnly {}. or .RadComboBox.custom .rcbInner {} - depending of the scenario.
Regards,
Magdalena
Telerik
We recommend you to apply styling by stylesheet and by JavaScript apply only a CSS class that can be used as a CSS selector. You can apply a custom CSS class to the RadComboBox by the following:
function pageLoad() { var combobox = $find("RadComboBox1").get_element(); $telerik.$(combobox).addClass("custom");}After that you can apply color, border and background rules to the selector .RadComboBox.custom .rcbReadOnly {}. or .RadComboBox.custom .rcbInner {} - depending of the scenario.
Regards,
Magdalena
Telerik
See What's Next in App Development. Register for TelerikNEXT.