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

PROBLEM WITH DOUBLE CLICK RADGRIDVIEW

4 Answers 278 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Asesoria
Top achievements
Rank 1
Asesoria asked on 26 Jul 2015, 06:49 PM
I have a form (see picture "form") I have a radgridview, when I want to double click on a row shows all the information in the upper controls, use the event doule click the radgridview (see picture "double click event" and "function1"). everything works fine up here.

But when I want to filter the information of radgridview (see picture "FILTERING RADGRIDVIEW"), and I double-click a row and does nothing, does not show the information in the controls.

I hope you can help me. I use visual studio 2012 vb.net

4 Answers, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 27 Jul 2015, 07:42 AM
Hello ,

Thank you for writing.

It will be easier if you use the CellDoubleClick event, the event arguments you can get the clicked cell Row.

Give this approach a try and let me know how it works for you.

Regards,
Stefan
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Asesoria
Top achievements
Rank 1
answered on 27 Jul 2015, 11:05 PM
Thanks for your reply,

Change the doubleClick event by CellDoubleclik but does not work as I need.

I inserted three rows to appear in the radgridview, the radgridview filtered fine but when I double-click does not display the fields. only works if I want to look through the filter the first row of data.
0
Accepted
Stefan
Telerik team
answered on 28 Jul 2015, 05:57 AM
I meant to take the clicked row from the event arguments:
Private Sub RadGridView1_CellDoubleClick(sender As Object, e As GridViewCellEventArgs)
    Dim clickedRow As GridViewRowInfo = e.Row
    TB_CODIGO.Text = clickedRow.Cells(0).Value.ToString()
         ….
End Sub

Let me know how this works for you.

Regards,
Stefan
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Asesoria
Top achievements
Rank 1
answered on 28 Jul 2015, 11:41 AM
Thanks for your reply,

It worked perfect.

Thanks for everything
Tags
GridView
Asked by
Asesoria
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Asesoria
Top achievements
Rank 1
Share this question
or