Search This Blog

Tuesday, March 24, 2009

WebBrowser control - DocumentCompleted event and Tips

All the developer familiar with the DocumentCompleted event , but you need to be aware of that if you have client side script that handle this event too or do something on the OnLoad event , you will miss the point , we are expecting to get this event after all done , but that the way it is .
i found a solution that works for me - and the credits is not mine , the idea is to call the documentcomplete event later on the same thread after the original call arrived, you can find the solution here :
Triggering DocumentCompleted after the OnLoad event .

another very good resource you can find here
Using Internet Explorer from .NET

enjoy
Yaniv

No comments: