BackColor not working correctly

2 posts, 0 answers
  1. bdk0172
    bdk0172 avatar
    50 posts
    Member since:
    Oct 2006

    Posted 12 Mar 2008 Link to this post

    I have a radMenu with 3 items.  I've set the skin to Default and the BackColor to #704165.  When I view the page, the first menu item still displays as the Default skin and the second and third menu items have the BackColor that I specified.  Is this a bug within radMenu?

    <

    telerik:RadMenu ID="rmMaster" runat="server" Skin="Default" Flow="vertical" BorderStyle="solid" BorderWidth="1px" BorderColor="black" BackColor="#704165" >

    <Items>

    <telerik:RadMenuItem Text="User Maintenance" ExpandMode="ClientSide" runat="server">

    <GroupSettings ExpandDirection="Auto" Flow="Vertical" />

    </telerik:RadMenuItem>

    <telerik:RadMenuItem Text="Site Template Edit" ExpandMode="ClientSide" runat="server">

    <Items>

    <telerik:RadMenuItem Value="site" ExpandMode="ClientSide" runat="server">

    <ItemTemplate>

    <asp:DropDownList ID="ddWebsite" runat="server"></asp:DropDownList>

    <asp:Button ID="btnWebsiteEdit" runat="server" Text="Edit" />

    </ItemTemplate>

    <GroupSettings ExpandDirection="Auto" Flow="Vertical" />

    </telerik:RadMenuItem>

    </Items>

    <GroupSettings ExpandDirection="Auto" Flow="Vertical" />

    </telerik:RadMenuItem>

    <telerik:RadMenuItem Text="Association Edit" ExpandMode="ClientSide" runat="server">

    <Items>

    <telerik:RadMenuItem Value="association" ExpandMode="ClientSide" runat="server">

    <ItemTemplate>

    <asp:DropDownList ID="ddAssociation" runat="server"></asp:DropDownList>

    <asp:Button ID="btnAssocEdit" runat="server" Text="Edit" />

    </ItemTemplate>

    <GroupSettings ExpandDirection="Auto" Flow="Vertical" />

    </telerik:RadMenuItem>

    </Items>

    <GroupSettings ExpandDirection="Auto" Flow="Vertical" />

    </telerik:RadMenuItem>

    </Items>

    <DefaultGroupSettings ExpandDirection="Auto" Flow="Vertical" />

    <CollapseAnimation Duration="200" Type="OutQuint" />

    <ExpandAnimation Type="OutQuart" />

    </telerik:RadMenu>

  2. Paul
    Admin
    Paul avatar
    4281 posts

    Posted 12 Mar 2008 Link to this post

    Hello bdk0172,

    You can easily fix this unwanted behaviour by using the following CSS style.

    <style type="text/css">  
        .RadMenu_Default  
        {  
            background-image: none !important;  
        }  
        </style> 


    Regards,
    Paul
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top