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

Unable to theme RadComboBoxItem

1 Answer 48 Views
ComboBox and ListBox (obsolete as of Q2 2010)
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Aaron
Top achievements
Rank 1
Aaron asked on 20 Aug 2010, 05:49 PM
Recently I upgraded from Q3 2009 to 2010 Q1 SP1 (409) and got all the control themes working except for RadComboBoxItem(s).  The only thing I have been able to modify is the "ScrollThickness".  I'm also trying to change the font size and the mouse over background.  So far I have tried to create a custom theme from stratch using the new VSB.  Nothing under the RadComboBox > RadListBoxElement > RadListBoxItem is changing the appearance what so ever.  I've tried everything under the Elements section and the Element States.  I added the 3 theme files is made to my theme builder in VS (RadComboBox, Repository, RadSizablePopupControl).  The only thing I have had luck so far with is adding the "RadSizablePopupControl" to the StylesheetRelations in the existing theme file.  That was able to get me the larger ScrollThickness, but nothing else.

Any help would be appreciated.

Thanks,
Aaron

1 Answer, 1 is accepted

Sort by
0
Boryana
Telerik team
answered on 25 Aug 2010, 04:52 PM
Hello Aaron,

Thank you for contacting us.

This is a known issue of the Q1 2010 SP1 (2010.1 10.409) version of Visual Style Builder. It is addressed in Q2 2010, so we highly recommend that you give a try to this version. Here are the steps you need to follow in order to set the backcolor of the RadComboBoxItems:

  1. Open the Visual Style Builder (2010.2 10.713) select RadListBox >> RadListBoxElement >> RadListBoxItem in the Controls Structure panel. When the RadListBoxItem is selected, please click on the ListBoxItemSelectionFill (FillPrimitive) in the Elements window.
  2. Click the Create New Repository Item button appearing in the Repository window and make a new Gradient repository item. Please make sure that you set the Visibility property to Visible (as illustrated in the attached snapshots).
  3. Drag the newly created repository to the RadListBoxItem item in the Element States panel.
  4. Now if you select the RadComboBox item in the Controls Structure window, you will note that the repository is applied to the items in the dropdown.

I hope you find this useful. Let me know if you experience further difficulties with our VSB tool. I will be glad to assist you.

Kind regards,
Boryana
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
ComboBox and ListBox (obsolete as of Q2 2010)
Asked by
Aaron
Top achievements
Rank 1
Answers by
Boryana
Telerik team
Share this question
or