we are targeting our winforms webbrowser control to IE8 with registry key of 8000.
Below are the issues , frequently we face
FEATURE_BROWSER_EMULATION
.If you have access to the web pages you're loading into WebBrowser
, use X-UA-Compatible
:
...
You can also try IE=EmulateIE8
, the difference is explained here.
Once the above has been done, verify the actual document mode:
webBrowser.DocumentCompleted += (s, e) => MessageBox.Show(
((dynamic)webBrowser.Document.DomDocument).documentMode.ToString());