Context menu when user right-clicks on row of datagridview
Posted on 2006-11-01
I would like to to know how to go about creating a context menu for a datagridview when the user right-clicks on a row.
I have dragged a ContextMenuStrip from the toolbox and dropped it onto my datagridview and have added a few items.
When I run my application a context menu doesn't appear when I right-click on a populated datagridview row.
Do I need to utilize a datagridview event to make it work?
What do I need to know?