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

RibbonBarMenu Dropdown Height

1 Answer 42 Views
RibbonBar
This is a migrated thread and some comments may be shown as answers.
Richard
Top achievements
Rank 1
Richard asked on 02 Apr 2013, 08:28 PM
Hi,

I have a RibbonBar menu that I am dynamically populating with a list of items.  Over time, this list has grown and now the list is going beyond the height of the browser, causing some items to be hidden and/or not easily accessible.  Is there a way I can correct this, maybe with a scroll or multiple columns, or something else? 

Thanks!
Richard

1 Answer, 1 is accepted

Sort by
0
Kate
Telerik team
answered on 05 Apr 2013, 02:18 PM
Hi Richard,

One possible approach that you can apply is to set a maximum height of the dropdown in the menu and set scroll bar whenever its height exceeds the predefined one. To achieve this you can use the following styles:
div.RadMenu ul.rmVertical,
      div.RadMenu ul.rmHorizontal,
      div.RadMenu ul.rmRootScrollGroup,
      div.RadMenu_Context ul.rmHorizontal {
          max-height: 300px;
      }
 
      .rmActive.rmVertical.rmGroup.rmLevel1 {
          overflow-x: hidden;
          overflow-y: auto;
      }

Kind regards,
Kate
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
RibbonBar
Asked by
Richard
Top achievements
Rank 1
Answers by
Kate
Telerik team
Share this question
or