Hi,
I am trying to get the correct row from my grid for the Event RadGridView1.DragDrop.
In http://www.telerik.com/community/forums/thread/b311D-baegte.aspx#410155 you advised to use the GetElementAtPoint method, which is exactly what I need. Has this been removed in Q1_2008 ? Whats the correct way to get a Row by mousecoordinates?
My code looks like this
I am trying to get the correct row from my grid for the Event RadGridView1.DragDrop.
In http://www.telerik.com/community/forums/thread/b311D-baegte.aspx#410155 you advised to use the GetElementAtPoint method, which is exactly what I need. Has this been removed in Q1_2008 ? Whats the correct way to get a Row by mousecoordinates?
My code looks like this
| Private Sub RadGridView1_DragDrop(ByVal sender As Object, ByVal e As System.Windows.Forms.DragEventArgs) Handles RadGridView1.DragDrop |
| If e.Data.GetDataPresent(GetType(Resource)) Then |
| Dim draggedResource As Resource = CType(e.Data.GetData(GetType(Resource)), Resource) |
| ' GetElementAtPoint does not exist |
| ' Dim target As RadElement = RadGridView1.GetElementAtPoint(New System.Drawing.Point(e.X, e.Y)) |
| End If |
| End Sub |