AccessKey - Handle [CONTROL] + [CLICK] Event

3 posts, 0 answers
  1. Kurt Boeckman
    Kurt Boeckman avatar
    10 posts
    Member since:
    Apr 2009

    Posted 17 Jun 2009 Link to this post

    I have a RadTreeView control that allows users to make multiple selections.  I'd like to handle the [CONTROL] + [CLICK] event either server or client side to enable other controls when multiple items are selected in the TreeView.  Is this possible?
  2. Veselin Vasilev
    Admin
    Veselin Vasilev avatar
    2992 posts

    Posted 22 Jun 2009 Link to this post

    Hi Kurt Boeckman,

    You can subscribe to the OnClientNodeClicked event and check the number of the currently selected nodes:

    function onClientNodeClicked(sender, e) 
       if (sender.get_selectedNodes().length > 1) 
       { 
          alert("More than one node selected"); 
       } 

    I hope this helps.

    Kind regards,
    Veselin Vasilev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. Kurt Boeckman
    Kurt Boeckman avatar
    10 posts
    Member since:
    Apr 2009

    Posted 23 Jun 2009 Link to this post

    That worked.  Thank you for the quick response.
Back to Top