Print Page | Close Window

Prevent Popups when using WebBrowser control

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Suite Pro
Forum Description: Topics Related to Codejock Suite Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=9141
Printed Date: 25 April 2024 at 6:20am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Prevent Popups when using WebBrowser control
Posted By: PhilB
Subject: Prevent Popups when using WebBrowser control
Date Posted: 19 December 2007 at 2:52am
Basically I just want to prevent any other windows being opened outside of the main browser control. Is there any way to prevent this, or is this simply down to the popup settings of IE on the user machine...?





Replies:
Posted By: Oleg
Date Posted: 19 December 2007 at 11:05am
Try catch NewWindow2 event and set Cancel = True.

-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: PhilB
Date Posted: 19 December 2007 at 11:31am
Perfect - thanks Oleg.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net