How to change browser mode in IE9 permanently?

Solution 1:

You can solve this issue with <meta x-ua-compatible /> element and providing it the ie7 variable.
Another alternative is to change the document mode using the documentMode property.
MSDN Reference:
http://msdn.microsoft.com/en-us/library/cc196988(v=vs.85).aspx

Solution 2:

I don't think you can really affect the browser mode setting; this seems to be a developer debugging feature. If a user is running IE9, the browser mode will be IE9 or IE9 Compatibility View. You can affect the compatibility view setting by using the X-UA-Compatible <meta> tag or HTTP header (though, watch out for the Tools -> Compatibility View settings - > "Display Intranet sites in Compatibility View" setting).