I'm catching the MouseRightButtonUp event when a user click on the gridview with the right button. It works as I want, but i would like to be able to determine if the user clicked a header or a cell in the gridview. Is it possible to detect it in this event ? Thanks a lot for your help!
Doots
2 Answers, 1 is accepted
0
Accepted
Dimitrina
Telerik team
answered on 12 Jun 2012, 06:35 AM
Hello,
You could check what the e.OriginalSource of the MouseButtonEventArgs is.
If you have clicked on a TextBlock, then you can check if the Parent of the clicked element is a GridViewCell or a GridViewHeaderCell.
For example something similar to: