Re: BeforeNaviagte and DocumentCompete



On Thu, 19 Jul 2007 03:20:41 -0700, Alahare <alahare@xxxxxxxxx> wrote:

Whether handler to DocumentCompete is fired BEFORE page loading is
finished or AFTER page loading is Finshed.?
Similar question to BeforeNaviagate.

DocumentComplete is fired after that document has been completely loaded.
BeforeNavigate is fired before the navigation has been started. If you want
to you can cancel the navigation in BeforeNavigate.

Best Regards
Jan Ostedt

.



Relevant Pages

  • Re: IWebBrowser2, frames and DocumentComplete
    ... number of DocumentComplete, however, number of NavigateComplete2 is ... "I've just seen a navigation in frame B; I know that frame C is going to ... But which is the last DocumentComplete Event? ...
    (microsoft.public.inetsdk.programming.webbrowser_ctl)
  • Re: Headers BeforeNavigate
    ... > Is there a way to change the headers in the BeforeNavigate() event? ... You can cancel the navigation and reissue it again, ...
    (microsoft.public.inetsdk.programming.webbrowser_ctl)
  • Re: how can I use onreadystatechange event?
    ... I haven't had any problems with DocumentComplete event. ... and sink events from it. ... creates a new document object, so you need to sink events separately for ... every navigation. ...
    (microsoft.public.inetsdk.programming.webbrowser_ctl)