Properties of screen Positioning don't work with event "onDrop" IE10 on Windows 8 Consumer Preview. kendo version 2012.2.710

3 posts, 0 answers
  1. Marco
    Marco avatar
    1 posts
    Member since:
    Sep 2012

    Posted 28 Sep 2012 Link to this post

    Hello.
    When I try to invoke the "onDrop" event on "kendoDropTarget" on ie 10 using Windows 8 Consumer Preview, I can't find all the properties relative to the positioning on the screen:
    e.pageX
    e.pageY
    e.screenX,
    e.screenY
    e.clientX,
    e.clientY

    The same code works on Firefox 15.0.1

    Thanks in advance,
    Marco
  2. Andy
    Andy avatar
    8 posts
    Member since:
    Aug 2006

    Posted 18 Mar 2013 Link to this post

    I have this issue as well, in RTM version of IE10 on Windows 8 (haven't tried Windows 7 yet)

    When using IE10 and setting up a drop event on kendoDropTarget, the event parameter passed in is missing clientX,clientY and the other position information as noted in the original thread.
  3. Kendo UI is VS 2017 Ready
  4. Andy
    Andy avatar
    8 posts
    Member since:
    Aug 2006

    Posted 19 Mar 2013 Link to this post

    The fix for this (supplied from support) was to use the "originalEvent" property of the event:



    function droptargetOnDrop(e) {

        e.originalEvent.clientX


        e.originalEvent.clientY

        e.originalEvent.screenX


        e.originalEvent.screenY

        e.originalEvent.pageX

        e.originalEvent.pageY

    }

Back to Top