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

BackColor not working correctly

1 Answer 70 Views
Menu
This is a migrated thread and some comments may be shown as answers.
bdk0172
Top achievements
Rank 1
bdk0172 asked on 12 Mar 2008, 02:17 PM
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>

1 Answer, 1 is accepted

Sort by
0
Paul
Telerik team
answered on 12 Mar 2008, 02:44 PM
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
Tags
Menu
Asked by
bdk0172
Top achievements
Rank 1
Answers by
Paul
Telerik team
Share this question
or