Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / March 2006

Tip: Looking for answers? Try searching our database.

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

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Vin - 06 Mar 2006 17:42 GMT
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

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.