Free Trial Buy Now

Menu - Scrolling


Description

This demo illustrates the ASPxMenu's support for scrolling items within submenus.

By default, dropdown submenus are automatically rendered to accommodate their entire content. In this case, lengthy submenus (containing a large number of items) might not be displayed entirely within the browser window. They might go beyond the bounds of the browser window, if their heights exceed the browser window's height (or the height of an IFRAME containing the menu).

To accommodate submenus within the window boundaries, you can enable the menu's EnableSubMenuScrolling property or the MenuItem.EnableScrolling property of an individual menu item. In this case, if a submenu's content height exceeds the browser window height, the submenu displays scroll buttons, allowing its items to be scrolled vertically. You can define custom images for these scroll buttons by using the ScrollDownButtonImage and ScrollUpButtonImage properties. The visual style of the scroll buttons can be customized, via the ScrollButtonStyle property.

In this demo, a web page containing the ASPxMenu is loaded into an IFRAME element. This simulates the window bounds for the menu's dropdown submenus.

Version: v2012 vol 2.8
Experience the DevExpress Difference Today
Demos with source code are included with an installation of DevExpress controls for ASP.NET. Refer to the Demos and Sample Applications topic to learn more.
To download your free evaluation copy of our award-winning ASP.NET libraries, visit the Downloads page
All DevExpress ASP.NET Controls ship as part of DXperience ASP.NET, Enterprise, and Universal.
To obtain pricing information, visit the Pricing Options page or contact us via Email at info@devexpress.com
or by telephone at +1 (818) 844-3383 between 8:30am and 5pm Pacific Time.