I have a site that I need to remove from the compatibility view list in both IE9 and IE11. I need this to happen programmatically in C# code. A lot of Google searching has not turned up a lot, just the occasional doing it manually instructions, but not really programmatically. I have seen a lot of doing it via physically adding the headers to the HTML;however, I am unable to go into the HTML to physically do that. Are there any, any other, ways to programmatically in C# take a site off of the compatibility view list?
I don't have physical access to the HTML or web.config files. This application is a bought application that I need to programmatically change with C# code to work without compatibility mode. --Hope it helps clarifies what I can and cannot do.