TelerikDeveloper.com

TelerikDeveloper.com

sgray128 4/13/2012 10:45:33 AM

Telerik - RadGridView CellDoubleClick

This short code example shows how to code the WinForms RadGridView CellDoubleClick event

The main thing that I have trouble remembering is how to get a reference to the fields; this helps me remember.



Private Sub RadGridDragAndDrop1_CellDoubleClick(sender As Object, e As Telerik.WinControls.UI.GridViewCellEventArgs) Handles RadGridDragAndDrop1.CellDoubleClick
    Try
        If Not TypeOf (e.Row) Is Telerik.WinControls.UI.GridViewDataRowInfo Then
            Exit Sub
        End If
 
        'get a reference to a cell in the grid
        Dim intLoadID = e.Row.Cells("lRowID").Value
 
    Catch ex As Exception
        ErrorHandler.globalErrorHandler(ex, True)
    End Try
 
End Sub