Article relates to
RadGridView Custom Context Menu
April 2, 2008
Last modified by
Use a custom context menu in RadGridView for WinForms
RadGridView provides a straightforward way to use custom context menus, instead of the default one. This context menu will appear everytime the user right-clicks the RadGridView, regardless of the element of the control they click.
Start by creating the context menu, initializing its items, and subscribing for the events that you want to handle to achieve the desired behavior.
Once the menu object has been initialized and populated with menu items, it is ready to be attached to the RadGridView. To do that, subscribe to the ContextMenuOpening event:
In the handler of the ContextMenuOpening event, set the context menu to be displayed:
Copyright © 2017, Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks or appropriate markings.