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

RadMenu MenuItems break at the wrong place

1 Answer 44 Views
Sharepoint Integration
This is a migrated thread and some comments may be shown as answers.
Gordon
Top achievements
Rank 1
Gordon asked on 31 Oct 2008, 12:31 PM
Hi,

I'm using RadMenu in a sharepoint page. I've skinned it with "Gray" which is the style we like the best.
However when i add icons they cause the menu text to break and appear under the icon which is undesirable. (if the text is quite long)
Is there any way to state "nobreak" to the menu

So the markup looks like
<telerik:RadMenu ID="RadMenu1" runat="server" Skin="Gray">
                        <CollapseAnimation Duration="200" Type="OutQuint" />
                        <Items>
                            <telerik:RadMenuItem runat="server" Text="Production Performance Dashboard">
                                <Items>
                                    <telerik:RadMenuItem runat="server" ImageUrl="/_layouts/images/reportwebpart.gif" Text="Schematic">
                                    </telerik:RadMenuItem>
                                    <telerik:RadMenuItem runat="server" ImageUrl="/_layouts/images/pi_pi.gif" Text="Trend">
                                    </telerik:RadMenuItem>

1 Answer, 1 is accepted

Sort by
0
Accepted
Yana
Telerik team
answered on 03 Nov 2008, 12:10 PM
Hi Gordon,

Please add the following css styles to your page to fix this issue:

<style type="text/css">  
        .RadMenu .rmLink   
        {  
            padding-left: 0 !important;  
        }  
        .RadMenu .rmText  
        {  
            padding-left30px !important;  
        }  
        .RadMenu .rmLeftImage  
        {  
            positionabsolute;  
            left4px;  
        }  
    </style> 

I hope this helps.

Best wishes,
Yana
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Sharepoint Integration
Asked by
Gordon
Top achievements
Rank 1
Answers by
Yana
Telerik team
Share this question
or