0 votes

Using a webbrowser control in c# project shows me a warning whenever a page with javascript is navigated.Is there a method to suppress those messages ?

default web browser : google chrome

Below is the warning picture 



asked May 8, 2015 in Computer Science - IT by ppk
recategorized Aug 25, 2015 by slow_learner | 33 views

1 Answer

0 votes
Selected Ans.

Try suppressing Script errors as below :

 browser.ScriptErrorsSuppressed = false;

You can find reference MSDN here


answered May 11, 2015 by kevin
selected May 11, 2015 by ppk