I was wondering if was possible to change the value of "background-color" for the selection of a radCombobox.
Here is the css code I used: (I can change everything but not the color of highlighted items ....)
div.RadComboBox_Metro .rcbInputCell INPUT.rcbInput
{
background-color: #9BCDFF;
}
"Metro" being the name of the "skin" of my radcombobox
Thanks to all
EDIT- 12-12-2012 Finally after a complete headache and several tries. My code below works for the first item highlighted, but not for others .... Have you any idea why? Thanking you in advance
function cmbx_dbListUserOnClientSelectedIndexChanged(sender, args) {
var combo = $find("<%= cmbx_dbListUser.ClientID %>");
var highlightItem = combo.get_highlightedItem();
if(highlightItem != null)
{
highlightItem.get_element().style.backgroundColor = "#9BCDFF";
}
}