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

CSS For Group

1 Answer 66 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Dave Myers
Top achievements
Rank 1
Dave Myers asked on 27 Feb 2009, 03:24 PM
I am using the menu control to create a drop down button.  Essentially it is a single root level item that drops down a selection list.  I have the main button taking my css, as well as the individual menu items but cannot figur out how to set the css for the group of items.  In other words, the menu displays but there is no background behind the items.

<telerik:RadMenu ID="RadMenu1" runat="server" Skin="" ClickToOpen="true"
                    <DefaultGroupSettings ExpandDirection="down" /> 
                    <Items> 
                        <telerik:RadMenuItem Text="Override Status"  GroupSettings-ExpandDirection="Down" CssClass="CommandButton" > 
                            <Items> 
                                <telerik:RadMenuItem Text="test"  CssClass="DropMenuButton"></telerik:RadMenuItem> 
                                <telerik:RadMenuItem Text="test2" CssClass="DropMenuButton"></telerik:RadMenuItem> 
                                <telerik:RadMenuItem Text="test3" CssClass="DropMenuButton"></telerik:RadMenuItem> 
                            </Items> 
                        </telerik:RadMenuItem> 
                    </Items> 
                </telerik:RadMenu> 
in a related issue...i cannot get the menu to expand down....so it behaves like a "drop up" button.  Any help would be appreciated.


1 Answer, 1 is accepted

Sort by
0
Veselin Vasilev
Telerik team
answered on 02 Mar 2009, 04:59 PM
Hello Dave Myers,

I noticed that you do not use any Skin. Still, you need understanding of the Skin CSS file in order to create the appropriate CSS classes.
Please check the following links:

Regards,
Veselin Vasilev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Menu
Asked by
Dave Myers
Top achievements
Rank 1
Answers by
Veselin Vasilev
Telerik team
Share this question
or