Rank: Newbie Groups: Member
Joined: 10/10/2017 Posts: 2
|
Hi, I´m trying to open a new window in the same window, I don´t know if my code it´s ok.
Code: C#
private void webView3_NewWindow(object sender, NewWindowEventArgs e)
{
webView3.NewWindow += new EO.WebBrowser.NewWindowHandler(webView3_NewWindow);
webView3.Url = e.TargetUrl;
e.Accepted = true;
}
}
}
I´m a noob BTW Thanks
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,225
|
Hi,
You should just use webView3.Url = e.TargetUrl and that's it. The other two lines are not needed.
Thanks
|