Hi
I am building the list of items in the itemcreated event, as suggested in a reply to another post, using this approach:
This is working fine so far, but I would like to change the background color (or text color) of the item based on some criteria. (Such as Member not paid up!)
My question is how to add the relevant style attribute to the item I am adding . I was expecting to find something like...
combo.Items.AddAttribute( something here)
but I didn't find it the right approach anywhere in the docs. Sorry if it is there somewhere.
Can someone help me out?
Thanks
Clive
I am building the list of items in the itemcreated event, as suggested in a reply to another post, using this approach:
combo.Items.Add(New RadComboBoxItem(sb.ToString, MemberID))
This is working fine so far, but I would like to change the background color (or text color) of the item based on some criteria. (Such as Member not paid up!)
My question is how to add the relevant style attribute to the item I am adding . I was expecting to find something like...
combo.Items.AddAttribute( something here)
but I didn't find it the right approach anywhere in the docs. Sorry if it is there somewhere.
Can someone help me out?
Thanks
Clive