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

Double-click to select in Q3

4 Answers 130 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Robert
Top achievements
Rank 2
Robert asked on 04 Nov 2009, 10:58 PM
Hi There,

The approach to catch a double-click doesn't seem to work anymore in Q3.  The clicking only works at the borders of the items.  Any ideas why?

The technique was:


        private void OnRowsLoaded(object sender, RowLoadedEventArgs e)
        {
            Mouse.AddMouseUpHandler(e.Row, OnMouseUp);
        }

   private void OnMouseUp(object sender, MouseButtonEventArgs e)
        {
            if (e.ClickCount == 2)
            {
                var row = sender as GridViewRow;
                if (row != null)
                {
                    var projectSummary = row.DataContext as ProjectSummary;
                    if (projectSummary != null)
                    {
                        Model.LoadProjectCommand.Execute(projectSummary);
                    }
                }
            }
        }

4 Answers, 1 is accepted

Sort by
0
Hristo
Telerik team
answered on 05 Nov 2009, 01:18 PM
Hello Robert,

This happens because we handle cell MouseLeftButtonUp & Down events.
We will introduce another Mouse.AddMouseUpHandler overload that will allow to specify whether you want to handle events that are marked as Handled. We will try to include this method with this week latest internal build.
I'm sorry for the caused inconvenience.

Regards,
Hristo
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Greg Phaling
Top achievements
Rank 1
answered on 09 Nov 2009, 11:03 PM
Hristo,

Please let us know what the current status of this issue is for the Q3 release.  I am currently using the work-around mentioned in this post:

http://www.telerik.com/community/forums/silverlight/gridview/mousedoubleclick-isn-t-working-in-beta-3-release-15-10.aspx

Thank you.

Greg
0
Hristo
Telerik team
answered on 10 Nov 2009, 01:42 PM
Hi Greg,

This issue is resolved in our latest internal build from yesterday. You can download it from your account. Please give it a try and let me know how it goes.

Kind regards,
Hristo
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Greg Phaling
Top achievements
Rank 1
answered on 10 Nov 2009, 04:37 PM
Hi Hristo,

The internal build works fine for me.  Thanks!

Greg

Tags
GridView
Asked by
Robert
Top achievements
Rank 2
Answers by
Hristo
Telerik team
Greg Phaling
Top achievements
Rank 1
Hristo
Telerik team
Share this question
or