Search code examples
c#.netwebbrowser-controlcompatibility

How to disable compatibility view settings?


I've been trying to load a specific page on a web browser control that works fine with the installed IE on my system, but I keep getting a message box (created by the page) that I have to disable the compatibility view. The same page works fine on my IE 9.0 without tampering with the settings. I can't get it! The same thing happens if I use gecko and I can't figure out why... Is there any way to disable the settings programmatically?


Solution

  • I think this is what you need. There are other discussions about similar issues on SO here and here. I think the only way to change the settings programmatically would be to edit the registry with code.