ComponentOne Menu for ASP.NET AJAX: Menu for ASP.NET AJAX Quick Start > Adding Keyboard Support to C1Menu

Adding Keyboard Support to C1Menu

In this lesson you will learn how easy it is to add an access key to the C1Menu. Access keys are used for navigating the entire user interface and typically use the ALT key plus the specified access key.

Adding keyboard support to your menu

To add keyboard support to C1Menu, complete the following:

1.   Select C1Menu1 in the C1Menu Designer Form and enter, "m", for the AccessKey property.

2.   Build the project.

3.   Press "alt+m" keys on your keyboard to bring the menu to focus. Use the arrow keys to navigate through the menu and menu items. Press the ENTER key to open a link in the menu item. For example, pressing ENTER for Menu Item 1 opens the Web Site.


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