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

Do not want a new row added to the menu

3 Answers 36 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Matthew Bishop
Top achievements
Rank 1
Matthew Bishop asked on 19 Dec 2008, 06:15 AM
According to this:
http://www.telerik.com/help/aspnet-ajax/menu_appearancecontrollingappearance.html

-->Use the Height and Width properties to limit the dimensions of the menu. If the Width of a horizontal menu is too small to display all of its root items, the menu automatically creates additional rows:

I dont want it to automatically add a new row, rather I would like scroll bars because otherwise it stuffs up the layout of the whole page.

How can I do this?

3 Answers, 1 is accepted

Sort by
0
Serrin
Top achievements
Rank 1
answered on 19 Dec 2008, 03:09 PM
Hey Matthew,

Maybe put it inside of a div which has overflow set to accomodate the menu?  Limits the impact of the menu size on the rest of the page and gives you some scrolling. 
0
Yana
Telerik team
answered on 20 Dec 2008, 01:12 PM
Hello Serrin,

I suggest you use EnableRootItemScroll property of RadMenu. Setting it to “true” in combination with Width/Height will allow the root items to be scrolled

Best wishes,
Yana
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Matthew Bishop
Top achievements
Rank 1
answered on 21 Dec 2008, 07:48 AM
That works thanks, just a pity it doesnt automatically kick in when i resize the screen... unless I have missed another setting somewhere
Tags
Menu
Asked by
Matthew Bishop
Top achievements
Rank 1
Answers by
Serrin
Top achievements
Rank 1
Yana
Telerik team
Matthew Bishop
Top achievements
Rank 1
Share this question
or