0

I use in an WPF project a XAML-components with a WebBrowser Control. In it, I load a page by the user is prompted to enter login information. After the login procedure, I get a JavaScript error message. I trace the Web page in Internet Explorer, this error message by the settings of Internet Explorer is suppressed. Is it possible to suppress this error message in my WebBrowser control?

1
  • What is the error message? If it is actually a Silverlight error being reported via JavaScript then it can be disabled in the Silverlight.js, but you should not need to suppress JavaScript errors. Is it just because you have IE script debugging on? Commented Jul 12, 2011 at 15:41

1 Answer 1

1

You can try my solution using a script or this one Based on reflection to set the silent property of web browser control

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.