Theme Colors in SplitButton Dropdown

3 posts, 0 answers
  1. Jeremy Murtishaw
    Jeremy Murtishaw avatar
    86 posts
    Member since:
    Apr 2009

    Posted 28 Nov 2009 Link to this post


    I've recently upgraded to Q3 2009. The upgrade has seemingly broken my dropdown colors for my Split Buttons. I previously created a custom theme based on the Desert theme, however, the dropdown colors were not changed from the Desert default. These values were [in the theme editor]:

    RootRadElement -> RadDropDownMenuElement->FillPrimitive
    BackColor/2/3/4: 243, 243, 229
    RootRadElement -> RadDropDownMenuElement->RadElement->FillPrimitive
    BackColor/2/3/4: 222, 222, 204

    When I open the theme editor now for my split buttons, these colors still appear as desired. However, when the Split Buttons are clicked at runtime, the dropdown menu items instead have two shades of white/gray as fill colors instead of the two shades of the sandy color specified above. Also, normally when I run into problems like this with Telerik controls, I typically hard code changes to the elements at runtime as a workaround. However, in this case, I am unable to reach these components of the element tree. When working with a RadSplitButton, the only available element is the DropDownButtonElement which does not have children leading to a DropDownMENUElement.

    Any help would be appreciated.
  2. Jeremy Murtishaw
    Jeremy Murtishaw avatar
    86 posts
    Member since:
    Apr 2009

    Posted 28 Nov 2009 Link to this post

    Attaching Screenshots.
  3. DevCraft banner
  4. Nikolay
    Nikolay avatar
    1802 posts

    Posted 01 Dec 2009 Link to this post

    Hello Jeremy Murtishaw,

    In Q3 2009 we changed the ThemeClassName of the RadSplitButton's dropdown. In order to continue using your custom theme, please replace this line:
    <RadStylesheetRelation ControlType="Telerik.WinControls.UI.RadSplitButtonMenu" ElementType="Telerik.WinControls.RootRadElement" />

    wtih this one:
    <RadStylesheetRelation ControlType="Telerik.WinControls.UI.RadDropDownButtonMenu" ElementType="Telerik.WinControls.RootRadElement" />

    I hope this helps. If you have additional questions, feel free to contact me.

    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Back to Top