Is there a way to track error messages in a webBrowser control? For example, in Firefox or Internet Explorer, I can look at the console output for Javascript errors. Is there a way to track those errors from within the application?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There are two related Microsoft KB articles:
Although these are related to unmanaged C++ code, you should be able to adopt these for the C# web browser control, too.
Another article suggests to subscribe to the
onerrorevent:And finally, there is a similar SO posting related to Delphi.