c# - Windows.Forms.WebBrowser Control not using correct Document Mode -


I have web browser controls in one standard window forms.

The machine on which IE11 is running operates.

Where WBR is an example of WebBrowser control, wbr.Version.Major 11 means that it is using IE11.

Above the document at the following with a web page:

     

In the document.documentMode calling Javascript returns '8'.

This means that the page is appearing in IE8 document mode (and the output, which appears in CSS3, is not rendered correctly).

I have also explicitly set the browser emulation mode in the registry for both the 11001 and 11000 applications. (See)

Why is IE11 WebBrowser Control able to shed some light as both doctype and meta tags are being set even though 8 document mode is set?

Thanks

I'm sure why doctype and meta tags still be set While WebBrowser control prevents operating from running in IE11 mode, due to the difference in 32-bit and 64-bit registry registry hacks is not working.

If you are editing the registry for 32-bit applications, those applications for registry entries will be found in an additional directory abstract called Wow6432Node.

This is where the registry changes should be made.

Comments

Popular posts from this blog

Java - Error: no suitable method found for add(int, java.lang.String) -

java - JPA TypedQuery: Parameter value element did not match expected type -

c++ - static template member variable has internal linkage but is not defined -