0

I try to show a web site in Form using web browser, but when I run my project the web browser don't run JS files, this files are from web site.

this is my code in Form class:

public Form1()
{
    InitializeComponent();
    web_content.Navigate(urlString: "www.mywebsite.com");
}

thanks.

1 Answer 1

1

Try to set property of browser component.

web_content.ScriptErrorsSuppressed = true;
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.