We are using GridDataBoundGrid. We have masked the selection options so that only left click selects and the right click does not.
Now when the user right clicks on the grid, the coordinates of the point of click are not available, while we want them .
Is there any way to implement this ?
ADAdministrator Syncfusion Team June 23, 2004 02:31 AM
You can always get the coordinates of the mouse using the static (Shared in VB) member Control.MousePosition. The point that is returned is in screen coordinates, so if you want them in grid coordinates, you have to use the PointToClient method.
Point pt = this.grid.PointToClient(Control.MousePosition);