0

I have a Windows Form Application that has a tabControl with a webbrowser on a tab an on the other some textboxes. I need to access a website from the webbrowser. The problem is on that website i have click on a link that opens a pop-up. I was wondering if there is any way to avoid the popup and load the page in the webbrowser directly. If there's a way to catch the popup address, close the popup and load the page in the application's browser. The real problem would be catching the popup address if that's possible. Thank you very much.

  • Just a suggestion: You may want to add the Winforms tag to this question to get a bigger audience. – Parmenion Oct 27 '11 at 15:46
  • possible duplicate of [Setting popup window to be a child of MDI Control when using WebBrowser Control](http://stackoverflow.com/questions/6470842/setting-popup-window-to-be-a-child-of-mdi-control-when-using-webbrowser-control) – Hans Passant Oct 27 '11 at 16:20
  • The simplest solution would be to modify how the website works. You could also simply navigate to the page within the pop-up manually. – Security Hound Nov 02 '11 at 11:37

1 Answers1

0

I do not think that is possible because the popup will occur within the web browser instance. It is pretty much outside of your control at that point.

Parmenion
  • 299
  • 1
  • 3