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

Multiline menus

7 Answers 67 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Andy Green
Top achievements
Rank 2
Andy Green asked on 15 Jun 2009, 08:55 PM
Is there a way to have the menu node on 2 lines, I've tried adding a <br/> between the words, it puts them on 2 lines but applies the styles to each line not as a whole.

Andy

7 Answers, 1 is accepted

Sort by
0
Paul
Telerik team
answered on 16 Jun 2009, 09:08 AM
Hi Andy,

Currently, this can be achieved by using the new Simple skin only. Here's a sample code snippet that shows the approach.

<html xmlns="http://www.w3.org/1999/xhtml">  
<head runat="server">  
    <style type="text/css">  
    .RadMenu  
    {  
        white-space: normal !important;  
    }  
    </style> 
</head> 
<body style="background-color: Gray">  
    <form id="form1" runat="server">  
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">  
    </telerik:RadScriptManager> 
    <telerik:RadMenu ID="RadMenu1" runat="server" Skin="Simple">  
        <Items> 
            <telerik:RadMenuItem runat="server" Text="Root Item with very long text" Width="150px">  
                <Items> 
                    <telerik:RadMenuItem runat="server" Text="Child RadMenuItem 1">  
                    </telerik:RadMenuItem> 
                    <telerik:RadMenuItem runat="server" Text="Child RadMenuItem 2 with very long text">  
                    </telerik:RadMenuItem> 
                    <telerik:RadMenuItem runat="server" Text="Child RadMenuItem 3">  
                    </telerik:RadMenuItem> 
                </Items> 
                <GroupSettings Width="220px" /> 
            </telerik:RadMenuItem> 
        </Items> 
    </telerik:RadMenu> 
    </form> 
</body> 
</html> 


Kind regards,
Paul
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.
0
Andy Green
Top achievements
Rank 2
answered on 16 Jun 2009, 01:37 PM
Thanks but where do I find the Simple skin. I'm on 2009 Q1.

Andy
0
Paul
Telerik team
answered on 16 Jun 2009, 01:58 PM
Hi Andy,

I see that you are still using version 2009.1 402. Please upgrade to SP2 (2009.1.527) or to the latest internal build.

All the best,
Paul
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.
0
Andy Green
Top achievements
Rank 2
answered on 16 Jun 2009, 02:12 PM
I can't my subscription has ended, and my manager is happy with the release we have, so will not be renewing yet.

Andy
0
Paul
Telerik team
answered on 16 Jun 2009, 02:16 PM
Hello Andy,

Even though your Subscription has expired, you still have the option to upgrade to SP2. Please check under Downloads section in your account.

Sincerely yours,
Paul
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.
0
Andy Green
Top achievements
Rank 2
answered on 16 Jun 2009, 02:27 PM
I did look when SP 2 was released, and my download area was empty, thats why I thought my subscription had expired, Not sure of the exact date but its about now.

I'll take another look.

Andy
0
Andy Green
Top achievements
Rank 2
answered on 17 Jun 2009, 06:53 PM
All sorted - thank you.
Tags
Menu
Asked by
Andy Green
Top achievements
Rank 2
Answers by
Paul
Telerik team
Andy Green
Top achievements
Rank 2
Share this question
or