Drag and Drop Use in Virtual Earth Silverlight Map Control

2 posts, 0 answers
  1. Ömer Emre Aktepe
    Ömer Emre Aktepe avatar
    4 posts
    Member since:
    Sep 2009

    Posted 08 Oct 2009 Link to this post

    Hi I m using Telerik Drop And Drag Manager for Virtual Earth Map Control. I add some UIEelements in to Maplayer. And when i m push mouseleftbutton and move mouse my custom control fallow mouse.  So I cant do any drag and drop operation. If i m add a listbox in to layer, i can easily apply drag and drop. But if i add any image to maplayer it cant working correctly. i tried mousepan event and i handeled but it wasnt work

    If any one can halp me?

    Best Regards

    Ömer Emre Aktepe
  2. Miroslav
    Admin
    Miroslav avatar
    922 posts

    Posted 13 Oct 2009 Link to this post

    Hello Ömer Emre Aktepe,

    It seems that the VirtualEarth control handles the mouse events. The Listbox most probably works it handles these same mouse events and they do not reach the map control.

    You may need to handle the mosue events that the map control uses. I guess it will be enough if you handle the MouseLeftButtonDown and Up on the image that you place in the layer.

    Best wishes,
    Miroslav
    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
Back to Top