RadComboBox - ListBoxElement

4 posts, 0 answers
  1. anca
    anca avatar
    6 posts
    Member since:
    Nov 2007

    Posted 05 May 2010 Link to this post

    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
  2. Dobry Zranchev
    Admin
    Dobry Zranchev avatar
    348 posts

    Posted 06 May 2010 Link to this post

    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.
  3. UI for WinForms is Visual Studio 2017 Ready
  4. OverCoded
    OverCoded avatar
    34 posts
    Member since:
    Mar 2010

    Posted 28 May 2010 Link to this post

    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!
  5. Victor
    Admin
    Victor avatar
    1351 posts

    Posted 03 Jun 2010 Link to this post

    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.
Back to Top