This is a migrated thread and some comments may be shown as answers.

RadContextMenu determine where clicked in grid

1 Answer 82 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Jim
Top achievements
Rank 1
Jim asked on 21 Oct 2011, 10:45 AM
I have a radgridview with RadContextMenu
I have menu items Add Column and Delete column.
I can get the add column to work OK
But with delete I don't know how to determine where in the grid the menu was invoked from, i.e. which column to delete.
Also to consider, what if right clicked on a header item or even the "Click here to add new item"

Impressed with the RadContextMenu and how easy it was to add columns(custom).

Regards
JimL

1 Answer, 1 is accepted

Sort by
0
Jim
Top achievements
Rank 1
answered on 25 Oct 2011, 02:02 PM
And the answer is ....

I had some spare moments so I "read the manual" as in the the quote "If all else fails read the manual" !

RadContextMenu 
 RadContextMenu with a RadGridView
   Display different menu items depending on which part of the RadGridView is clicked

This pointed me in the right direction and I have solved it.
Regards
Jim
Tags
GridView
Asked by
Jim
Top achievements
Rank 1
Answers by
Jim
Top achievements
Rank 1
Share this question
or