Drag and drop between HTML 5 and Silverlight 4

Posted by Tej on Stack Overflow See other posts from Stack Overflow or by Tej
Published on 2010-06-10T11:48:58Z Indexed on 2010/06/10 11:52 UTC
Read the original article Hit count: 270

Filed under:

Hi -

Is it possible to drag an HTML 5 object, e.g. an , into a Silverlight 4 control and accept it? We've attempted to build a simple prototype using an HTML 5 example and a trivial Silverlight control but the cursor changes to the no-entry sign whenever we hover over the Silverlight control. We do, however, get drag entry events firing in Silverlight.

Our control happily accepts files dragged from the desktop as expected. We think we've got the HTML 5 drag events set up correctly, and I can possibly get our test published somewhere in case that will help. We've successfully implemented dragging inside a Silverlight control but we now need to integrate with non-Silverlight page components.

Is this actually possible to set up or are we just doing something wrong? Thanks for any advice!

© Stack Overflow or respective owner

Related posts about silverlight-4.0