Hi,
There are no events associated with dragover, dragdrop with .Net 2.0's
WebBrowser control in winforms. After much googling could figure out
that I need to write my own custom webbrowser class that implements
IDropTarget, IDocHostEventHandler interface or something. I have no
clue how to go about this.
Are there any other way I can achieve this? My primary goal is to drag
a tree node from another form on to the webbrowser control. I know
there is this DataObject which will have the value of the dropped item.
Code to do the same also would be of very much helpful.
Spent a whole weekend trying to figure this out and the web offers no
help.
Gurus, experts please help.
Thanks in advance,
Vin
Rajesh Bhokse - 12 Mar 2006 18:36 GMT
You can do it using HTML behaviours
Checkout below links -
http://msdn.microsoft.com/library/en-us/dndude/html/dude07232001.asp
http://msdn.microsoft.com/isapi/gomscom.asp?TARGET=/mind/0499/HTMLbehaviors/HTML
behaviors.asp
http://msdn.microsoft.com/msdnmag/issues/04/01/CuttingEdge/default.aspx?print=true
> Hi,
>
[quoted text clipped - 16 lines]
> Thanks in advance,
> Vin