Re: Axwebbrowser and Target



I have seen it but i don't able to use this event to do that. Have you an
idee to do it ?

thx

nicolas

"Igor Tandetnik" wrote:

> "nicolas" <inconu@xxxxxxxxxx> wrote in message
> news:188C2028-1AEB-4691-8E7C-9DA3B064F051@xxxxxxxxxxxxx
> > I use 2 AxWebBrowser in a C# form.
> > I have AXwebbrowser1 as primary window. And AxWebBrowser2 as
> > secondary. I would like send a HTML page in AxWebBrowser2 from
> > AxWebBrowser1 with a target in a HTML form.
> >
> > exemple
> >
> > function Submit(form)
> > {
> > eval("form.target='toto';form.action='toto.php';form.submit();");
> > return true;
> > }
> >
> > How can i define the AxWebBrowser2 to be the "toto" window ?
>
> Handle BeforeNavigate2 event from AxWebBrowser1. One of the parameters
> for the event is target name. When a navigation request comes with your
> special target, cancel it in AxWebBrowser1 and reissue in AxWebBrowser2
> using Navigate method.
> --
> 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
>
>
>
.