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

RowActivated issue in latest release

1 Answer 66 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Xavier Hutchinson
Top achievements
Rank 2
Xavier Hutchinson asked on 29 Apr 2011, 01:24 AM
Hi,

If a user double clicks on any element in the RadGridView the RowActivated event fires... This is especially annoying as you double click the text box in the filter options to select all text in the textbox (standard windows things) but this triggers the event.

Thanks,

1 Answer, 1 is accepted

Sort by
0
Maya
Telerik team
answered on 29 Apr 2011, 07:42 AM
Hi Xavier Hutchinson,

This would be the expected behavior since you are clicking in the area of GridViewHeaderRow. If you want to perform a particular action only when clicking on a GridViewRow, you may handle the event similar to:

private void clubsGrid_RowActivated(object sender, Telerik.Windows.Controls.GridView.RowEventArgs e)
        {
            if(e.Row is GridViewHeaderRow)
            {
 
            }
            else if(e.Row is GridViewRow)
            {
 
            }
        }
 

Kind regards,
Maya
the Telerik team
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 Public Issue Tracking system and vote to affect the priority of the items
Tags
GridView
Asked by
Xavier Hutchinson
Top achievements
Rank 2
Answers by
Maya
Telerik team
Share this question
or