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

Perform double click on GridView Row without prior row selection

0 Answers 70 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Pushpendra
Top achievements
Rank 1
Pushpendra asked on 07 Nov 2012, 05:38 AM

Hi,

In RadGridView I have to achieve the functionality of single click and double click for the each row. Currently I am binding "SelectedItem" for single click and creating "SearchResultGrid_RowActivated" event for double click.

Here the issue is if I want to perform double click on any row first I have to select that row, once the row is selected then only the double click event is working. If I am double clicking on the row which is not selected previously in that case the code of SelectedItem is running and not the code of double click.

My requirement is if user do a single click on the gridview row then the selected item code should run, and if the user double clicks on gridview row without selecting the row then the row should select bydefault and double click code should run.

Please suggest the possible solutions.

Pushpendra

No answers yet. Maybe you can help?

Tags
GridView
Asked by
Pushpendra
Top achievements
Rank 1
Share this question
or