Re: WebBrowser Control - BeforeNavigate2, HTTPXML Requests (AJAX)



"John Buck" <JohnBuck@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:C36468BF-643C-4A1F-8D6E-52E7BD25BEFD@xxxxxxxxxxxxx
With IE7 when using WebBrowser Control, the BeforeNavigate2 event
will fire when there is a HTTPXML.send request (Ajax call) But the
URL is shown as about:Blank, and all form data is empty.

I'm surprised BeforeNavigate2 is called at all. Are you sure it is
caused by XMLHTTPRequest, and not by, say, a blank iframe on the page?

Does anyone know a way to find out what the full Ajax Request string
is?

See if this helps:

http://groups.google.com/group/microsoft.public.inetsdk.programming.mshtml_hosting/msg/76bf4910a289d4b3

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


.