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

can scroll arrows display based on number of menu items

1 Answer 59 Views
Menu
This is a migrated thread and some comments may be shown as answers.
tparks69
Top achievements
Rank 1
tparks69 asked on 01 May 2008, 05:43 PM
Is there any way to have the scroll arrows in the RadMenu show up only when a certain number of MenuItems are loaded?  I'm currently using GroupSettings-Height, but it doesn't really cut the mustard because I need the menu size to also shrink to the number of items if there are less than a certain number.

For example, my requirement says show scroll arrows after 10 items, and I know each item is 28px, so I am setting GroupSettings-Height around 280px in the markup...  but then if I only have 2 items in the list, the menu is still 280px in height.  I only want it to be 56px... right?

Is there any good way to do this?

1 Answer, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 02 May 2008, 08:01 AM
Hello tparks69,

The functionality you request is not supported by RadMenu at the time being. You can however enable automatic scrolling (by setting the EnableAutoScroll property to true). The RadMenu will show scrolling arrows only when there is not enough room for an item to show.

Kind regards,
Albert
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Menu
Asked by
tparks69
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Share this question
or