Double-click to select in Q3

5 posts, 0 answers
  1. Robert
    Robert avatar
    40 posts
    Member since:
    Jul 2008

    Posted 04 Nov 2009 Link to this post

    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);
                        }
                    }
                }
            }
  2. Hristo
    Admin
    Hristo avatar
    832 posts

    Posted 05 Nov 2009 Link to this post

    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.
  3. DevCraft banner
  4. Greg Phaling
    Greg Phaling avatar
    7 posts
    Member since:
    Aug 2009

    Posted 09 Nov 2009 Link to this post

    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
  5. Hristo
    Admin
    Hristo avatar
    408 posts

    Posted 10 Nov 2009 Link to this post

    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.
  6. Greg Phaling
    Greg Phaling avatar
    7 posts
    Member since:
    Aug 2009

    Posted 10 Nov 2009 Link to this post

    Hi Hristo,

    The internal build works fine for me.  Thanks!

    Greg

Back to Top
DevCraft banner