Re: How can I know when the URL I specified to Navigate method get loaded?
- From: "Igor Tandetnik" <itandetnik@xxxxxxxx>
- Date: Sun, 13 Apr 2008 08:51:06 -0400
"yuzhu.shen" <yuzhu.shen@xxxxxxxxx> wrote in message
news:24f4ec88-09d7-4b31-8015-85e268610d4b@xxxxxxxxxxxxxxxxxxxxxxxxxxx
I thinked up another example this time ( and tested it ).
============================
Currently in page A --> Invoke Navigate() with "http://foo.bar" -->
Very quickly click a link to "http://not.foo.bar" in page A -->
OnNavigateComplete2("http://not.foo.bar")
=============================
Right. That's precisely what I predicted would happen. What again seems
to be the problem?
In this case, I still cannot determine by the NEXT
OnNavigateComplete2() that "http://foo.bar" gets loaded.
But of course. It _never_ gets loaded in your scenario. What else did
you expect?
What exactly are you trying to achieve?
Or, if the url I navigate is not a HTML page, instead it is an exe
file.
============================
Currently in page A --> Invoke Navigate() with "http://foo.bar/a.exe"
--> (no OnNavigateComplete2() for "http://foo.bar/a.exe") --> Some
time later, user click some link or input some other url to navigate
--
OnNavigateComplete2("http://still.not.foo.bar").
=============================
I still fail to see the problem with this scenario (or any other you
have propounded).
According to these examples, I think approach (2) is still
problematic: after I invoke Navigate() with "http://foo.bar", I cannot
just treat the NEXT NavigationComplete2 on the top-level frame to be
the "http://foo.bar".
I never suggested you should.
--
With best wishes,
Igor Tandetnik
With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925
.
- Follow-Ups:
- References:
- How can I know when the URL I specified to Navigate method get loaded?
- From: yuzhu.shen
- Re: How can I know when the URL I specified to Navigate method get loaded?
- From: Igor Tandetnik
- Re: How can I know when the URL I specified to Navigate method get loaded?
- From: yuzhu.shen
- How can I know when the URL I specified to Navigate method get loaded?
- Prev by Date: Re: How can I know when the URL I specified to Navigate method get loaded?
- Next by Date: thank u, Igor. it's not tidiness. But i'll make a try!
- Previous by thread: Re: How can I know when the URL I specified to Navigate method get loaded?
- Next by thread: Re: How can I know when the URL I specified to Navigate method get loaded?
- Index(es):