Drag drop events in .Net 2.0's WebBrowser control in winforms

  • Thread starter Thread starter Vin
  • Start date Start date
V

Vin

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
 
Back
Top