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

RadMenu MultiLine Item

1 Answer 67 Views
Menu
This is a migrated thread and some comments may be shown as answers.
VitorBarao
Top achievements
Rank 1
VitorBarao asked on 07 Aug 2012, 01:25 PM
Hi, i'm having a problem with the rendering of multiline items.
Attached goes an image of the problem.
I'm using Web20 Skin, this style and code
.WrappingItem
{
    white-space: normal !important;
}
 
 protected override void OnItemCreated(RadMenuEventArgs e)
        {
            e.Item.CssClass = "WrappingItem";
         //   e.Item.GroupSettings.Flow = ItemFlow.Vertical;
            base.OnItemCreated(e);
        }


Can anyone tell me how can i solve this "problem"?
thank you

1 Answer, 1 is accepted

Sort by
0
Ivan Zhekov
Telerik team
answered on 08 Aug 2012, 06:29 PM
Hello, Jose.

The menu is not intended for multiline menu items -- neither the current styles nor sprite are fit for that task.

To make the menu behave the way you want it to, you will need to create a custom skin and tweak the sprite and styles to allow multiline menu items.

Kind regards,
Ivan Zhekov
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Menu
Asked by
VitorBarao
Top achievements
Rank 1
Answers by
Ivan Zhekov
Telerik team
Share this question
or