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

RadComboBox - ListBoxElement

3 Answers 86 Views
Themes and Visual Style Builder
This is a migrated thread and some comments may be shown as answers.
anca
Top achievements
Rank 1
anca asked on 05 May 2010, 08:16 AM
Hello,

i have created a radComboBox style but for some reason the ListBoxElement doesn't take the style although it appears in the Style Builder.

Thank you

3 Answers, 1 is accepted

Sort by
0
Dobry Zranchev
Telerik team
answered on 06 May 2010, 11:16 AM
Hello anca,

Thank you for contacting us. The RadComboBox control is composed of a text editor part and a drop-down part which holds a RadListBoxElement. So, if you wish to design a custom theme for this control, you should provide styles for both the RadComboBox's text part (by selecting the RadComboBox control in the Visual Style Builder), and after that provide styles for the RadListBox.

If you have additional questions feel free to ask.

Sincerely yours,
Dobry Zranchev
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.
0
OverCoded
Top achievements
Rank 2
answered on 28 May 2010, 08:48 PM
I am having the same problem with the RadListbox. It seems to theme but not with my theme or any other for that matter. It looks good in the Visual Style Builder but not in Visual Studio, design or run time. I could theme a combobox with no problems. This is very frustrating!
0
Victor
Telerik team
answered on 03 Jun 2010, 10:04 AM
Hello Mark Coe,

I noticed that you had already found the answer to your question in your support ticket. Still, I am copying the answer here in case there are customers interested in the topic:

There is an issue in VSB in Q1 2010 which makes it impossible to create separate styles for the RadListBoxElement in RadComboBox and RadListBoxElement in RadListBox. You can only create a theme for the RadListBoxElement in RadListBox. This theme will be used at all occurrences of RadListBoxElement across the suite. This will work fine if you are not using the multi-select feature of RadListBox. If you are, you will need to create styles for the Active state of RadListBoxItems and if you make the styles correct, that is, to have only border and no fill, your combo box theme will look odd. In short, your theme will look fine only if you are using SelectionMode = One or SelectionMode = None for RadListBox. For this reason the ability to modify the RadListBoxElement for RadComboBox has been removed from VSB for Q1 2010 SP2.


All the best,
Victor
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
Themes and Visual Style Builder
Asked by
anca
Top achievements
Rank 1
Answers by
Dobry Zranchev
Telerik team
OverCoded
Top achievements
Rank 2
Victor
Telerik team
Share this question
or