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

Show Context Menu on Selection Changed

1 Answer 74 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Helen
Top achievements
Rank 2
Helen asked on 12 Oct 2012, 01:57 AM
I have a scenario where when a user selects a row of a grid, I want to display a context menu giving them 2 options. Is there any way to do this?

Thanks a bunch

Helen

1 Answer, 1 is accepted

Sort by
0
Accepted
Helen
Top achievements
Rank 2
answered on 12 Oct 2012, 05:26 PM
Never mind, figured it out!

In the grid's Selection_Changed event handler, I simply call

    MyContextMenu.Show(MousePosition);

Hope this helps someone else :)

Helne

Tags
GridView
Asked by
Helen
Top achievements
Rank 2
Answers by
Helen
Top achievements
Rank 2
Share this question
or