Checking for modifier keys

2 posts, 0 answers
  1. James Crosswell
    James Crosswell avatar
    11 posts
    Member since:
    Jul 2009

    Posted 22 Jul 2012 Link to this post

    Is there any way to check if a modifier key is being pressed when an item is dropped on the drop target? I'd like to implement two different drag n drop behaviours and a modifier key is probably the easiest way to do it (although I could probably add a radio to specify the drag n drop mode if modifier keys aren't doable).

    Cheers,
    Jimmy
  2. Nikolay Rusev
    Admin
    Nikolay Rusev avatar
    2285 posts

    Posted 23 Jul 2012 Link to this post

    Hello James,

    The arguments for DropTarget drop event contains also the original event. So you can assert for modifiers, i.e e.ctrlKey, e.altKey etc.

    Regards,
    Nikolay Rusev
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  3. Kendo UI is VS 2017 Ready
Back to Top