This is a migrated thread and some comments may be shown as answers.

row click event

2 Answers 140 Views
GridView
This is a migrated thread and some comments may be shown as answers.
reema
Top achievements
Rank 1
reema asked on 06 May 2009, 07:09 AM
hi,

is there a row double click event for Rad Gridview?..

thx

2 Answers, 1 is accepted

Sort by
0
Pavel Pavlov
Telerik team
answered on 06 May 2009, 08:44 AM
Hello reema,

Unfortunately due to the limitations of the Silverlight platform  there is no double click event on the RadGridView. You may have noticed there is a doble click behavior on th eheader cells. However this is a custom implementation only for the heade. There are some hacks over the net for double-click in Silverlight and if it fits your scenario , you may put an user control i the row to handle clicks and take care of the double click logic. I 'm not sure how exactly   will this interact with the internal logic of the RadGridiView for selection.

Best wishes,
Pavel Pavlov
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
John
Top achievements
Rank 1
answered on 10 Jul 2012, 01:31 AM

Man, I looked everywhere and could not find any solutions in the forums. So I am posting it in every thread that asks how to catch the row double-click.  It would be nice if Telerik made it easy to find. This is so simple.
VB.Net

Private Sub dgObjects_RowActivated(sender As System.Object, e As Telerik.Windows.Controls.GridView.RowEventArgs) Handles dgObjects.RowActivated
        If Not dgObjects.SelectedItem Is Nothing Then
            MessageBox.Show("test")
        End If
    End Sub

Tags
GridView
Asked by
reema
Top achievements
Rank 1
Answers by
Pavel Pavlov
Telerik team
John
Top achievements
Rank 1
Share this question
or