DoubleClick support

36 posts, 1 answers
  1. Chris
    Chris avatar
    26 posts
    Member since:
    Jul 2010

    Posted 28 Apr 2011 Link to this post

    I need to be able to trap double click versus single click on a row.
    This basic ability should already be there!
    HELP!!!!
  2. Maya
    Admin
    Maya avatar
    4062 posts

    Posted 28 Apr 2011 Link to this post

    Hello Chris,

    May you provide a bit more information on your requirements ? Why subscribing to the RowActivated event, CellDoubleClickEvent or using an attached behavior are not appropriate for your scenario ?
    Generally, all three approaches will enable you to handle the case when a mouse is double-clicked.

    Best wishes,
    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
  3. DevCraft banner
  4. Chris
    Chris avatar
    26 posts
    Member since:
    Jul 2010

    Posted 28 Apr 2011 Link to this post

    We need to be able to select multiple rows and invoke a context menu (right click) to perform an operation on the multiple rows AND double click to select a single row and perform an action.

    This is a complex issue. Can I talk to someone?
  5. Maya
    Admin
    Maya avatar
    4062 posts

    Posted 28 Apr 2011 Link to this post

    Hi Chris,

    Firstly, if you want to be able to select multiple items, you may set the SelectionMode property of the grid to "Multiple" or "Extended". As for defining and using a ContextMenu, you may take a look at our online demos for further reference.
    Considering your requirement for selecting an item on double-click, you may cancel the built-in selection during the SelectionChanging event, handle the CellDoubleClickEvent for example and select the corresponding items. 
    Still, I would recommend you using the default way a selection is performed, as otherwise you will probably have to consider the cases when you are selecting multiple items. 

    All the best,
    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
  6. Rajini Jayaseelan
    Rajini Jayaseelan avatar
    3 posts
    Member since:
    Mar 2010

    Posted 12 Jul 2012 Link to this post

    I use "RadControls for Silverlight Q2 2012", has the event been removed or an alternative approach is in place, pls assist. I have attached the list of methods available and onmousedoubleclick is not available.
  7. Maya
    Admin
    Maya avatar
    4062 posts

    Posted 12 Jul 2012 Link to this post

    Hello Rajini,

    The event is at GridViewCellBase level as illustrated in our demos.  

    Greetings,
    Maya
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Back to Top
DevCraft banner