can scroll arrows display based on number of menu items

2 posts, 0 answers
  1. tparks69
    tparks69 avatar
    8 posts
    Member since:
    Nov 2006

    Posted 01 May 2008 Link to this post

    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?
  2. Atanas Korchev
    Atanas Korchev avatar
    8462 posts

    Posted 02 May 2008 Link to this post

    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,
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top