ComponentOne Menu for ASP.NET AJAX: Menu for ASP.NET Task-Based Help > Adding Scrolling to Menus > Add Scrolling to Vertical Group

Add Scrolling to Vertical Group

1.   Add the C1Menu control to your page.

2.   Create a Group menu. For more information see, Create a Group Menu.

3.   In the C1Menu Designer Form, select the Group you wish to add the scrolling to.

4.   Scroll down to the ScrollSettings in the Properties pane.

 

 

5.   Expand the ScrollSettings and set its ScrollMode property to "ButtonsHover".

This will add one or two buttons depending on the setting for the ScrollButtonAlign property.

6.   Set the ScrollOrientation to "Vertical" since in this example we have a vertical group so we will be scrolling vertically.

7.   Set the ScrollContentHeight to "100px".

8.   Click OK to save the changes you made in the C1Menu control and to close the C1Menu Designer Form.

9.   Run your project.

Click on the up arrow button to scroll up the menu items or the down arrow button to scroll down the menu items.

 


Send comments about this topic to ComponentOne.
Copyright © 1987-2010 ComponentOne LLC. All rights reserved.