We are using a context menu on a RadTreeListView component.
This menu must show different options depending upon which cell or column etc... was right-clicked.
The trouble is that, the following code returns the columnIndex of the cell that currently has the focus, NOT the one that was right-clicked as this cell does not recieve the focus prior to the right-click & context menu being shown.
int columnIndex = ((GridViewDataControl)(((RadContextMenu)(e.Source)).UIElement)).CurrentColumn.DisplayIndex;
is there any way to determine the cell, and/or column and/or data item for the "point" where the mouse was right-clicked ?...
We can only do manual interception of righ-clicks if there is no context menu defined - if we apply a context menu (which we prefer) then the right-click handler will not fire in our code-behind.
Is there any way to do this please ?...
Thanks - Paul.