Hello All,
I have added a handler to try and capture the double click of an editing cell on a grid - it never reaches the stop statement, the keydown item fires fine. Can anyone give me some pointers?
Private Sub radGridView1_CellEditorInitialized(ByVal sender As Object, ByVal e As Telerik.WinControls.UI.GridViewCellEventArgs) Handles RadGridView1.CellEditorInitialized Dim tbEditor As RadTextBoxEditor = TryCast(Me.RadGridView1.ActiveEditor, RadTextBoxEditor) If Not tbEditor Is Nothing Then If (Not tbSubscribed) Then tbSubscribed = True Dim tbElement As RadTextBoxEditorElement = CType(tbEditor.EditorElement, RadTextBoxEditorElement) tbElement.TextBoxItem.Tag = Me.RadGridView1.Name AddHandler tbElement.TextBoxItem.KeyDown, AddressOf tbElement_KeyDown AddHandler tbElement.DoubleClick, AddressOf tbElement_DoubleClick End If End If End Sub Private Sub tbElement_DoubleClick(ByVal sender As Object, ByVal e As EventArgs) Stop End Sub Private Sub tbElement_KeyDown(ByVal sender As Object, ByVal e As KeyEventArgs) If e.KeyCode = Keys.F1 Then Stop End If End Sub