The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
Hi,
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 ?
Thanks,
Supriya
ADAdministrator Syncfusion Team June 23, 2004 07:31 AM UTC
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);