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

How to wrap text if Ramenu size is fixed?

7 Answers 76 Views
Menu
This is a migrated thread and some comments may be shown as answers.
VIVEK
Top achievements
Rank 1
VIVEK asked on 17 Mar 2010, 11:36 AM
Hi ,
How to wrap text if Ramenu size is fixed? 
We are using fixed width of radmenu, and sometimes we have long text in  radmenu like "The local school system's board of education"
then how to wrap these all text. I am giving Live URL http://www2.gsba.com/
We are using radmenu in DNN, so radmenuitem style won't work.
(Eg. <rad:RadMenuItem Width="150px" Text="This is the item with the very long text" style="white-space:normal" />)
 
Thanks,
Vivek

7 Answers, 1 is accepted

Sort by
0
Veronica
Telerik team
answered on 18 Mar 2010, 04:23 PM
Hello VIVEK,

Why don't you try using the <br> tag in the RadMenuItem Text as this:
<telerik:RadMenuItem runat="server" Text="This is the item <br> with the very <br>long text">
                           </telerik:RadMenuItem>

Kind regards,
Veronica Milcheva
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Vivek Kumar
Top achievements
Rank 1
answered on 18 Mar 2010, 06:28 PM
HI Veronica,

Thanks for your reply. but we are using this in dotnetnuke, so we do't have radmenuitem.

Thanks,
 Vivek
0
Dimitar Milushev
Telerik team
answered on 22 Mar 2010, 02:17 PM
Hello Vivek,

Can you please point us to a concrete page on the live website where this problem can be seen? It may be possible to fix this with CSS styling.

All the best,
Dimitar Milushev
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Vivek Kumar
Top achievements
Rank 1
answered on 22 Mar 2010, 07:36 PM
HI,
 
 You can see this in my first post on this page itself.

Thanks,
Vivek
0
Yana
Telerik team
answered on 24 Mar 2010, 03:36 PM
Hi Vivek Kumar,

I am pasting my reply from the support ticket here for a reference:

Setting line-height is the only way to reduce this space. You can set CssClass property to the items with longer text and apply this style only to them.

Regards,
Yana
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Vivek Kumar
Top achievements
Rank 1
answered on 29 Mar 2010, 12:45 PM
Hi Yana,

I  opened a support ticket for this.

Could you please look into?

Thanks,
Vivek Kumar
0
Yana
Telerik team
answered on 29 Mar 2010, 01:37 PM
Hi Vivek Kumar,

Please check the support ticket regarding the problem.

Regards,
Yana
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Menu
Asked by
VIVEK
Top achievements
Rank 1
Answers by
Veronica
Telerik team
Vivek Kumar
Top achievements
Rank 1
Dimitar Milushev
Telerik team
Yana
Telerik team
Share this question
or