WebBrowser Control IE8 Compatibility Mode On/Off Switch

后端 未结 3 1845
栀梦
栀梦 2021-01-06 00:58

I am having a IE8 compatibility issue while using the WebBrowser control to navigate to a website. The strange thing is sometimes the website works, but more than likely it

3条回答
  •  灰色年华
    2021-01-06 01:33

    I know the registry entry answer has been posted, so I thought I'd offer an alternative.

    Do you own the site and have permissions for the server it runs on? If so, you can set the X-UA-Compatible header to be sent for every page on the site/server. See http://msdn.microsoft.com/en-us/library/cc288325(VS.85).aspx#Servers for information plus links for Apache/IIS7.

提交回复
热议问题