c# - Visual Studio web browser control not running Javascript -


i'm using microsoft visual studio c# 2015 , have encountered problem. i'm creating small windows forms application program uses web browser tool. when launches, goes webpage uses javascript , doesn't launch these scripts. don't know how activate javascript on web browser control. ie works fine me. i'm using windows 8.1 64 bit. here code: edit: have enabled javascript on ie since website works when use ie access it.

using system; using system.collections.generic; using system.componentmodel; using system.data; using system.drawing; using system.linq; using system.text; using system.threading.tasks; using system.windows.forms;  namespace windowsformsapplication2 {     public partial class form1 : form     {         public form1()         {             initializecomponent();         }          private void webbrowser1_documentcompleted(object sender, webbrowserdocumentcompletedeventargs e)         {          }          private void form1_load(object sender, eventargs e)         {             webbrowser1.navigate("www.webpage.com");         }     } } 


Comments

Popular posts from this blog

Java 3D LWJGL collision -

spring - SubProtocolWebSocketHandler - No handlers -

methods - python can't use function in submodule -