Home › Forums › General XMetaL Discussion › XMetaL 8.0 Enterprise: Internal browser/preview issue › Reply To: XMetaL 8.0 Enterprise: Internal browser/preview issue
Reply to: XMetaL 8.0 Enterprise: Internal browser/preview issue
December 18, 2014 at 8:16 pmI found the solution to the issue via this blog post:
[url=http://weblog.west-wind.com/posts/2011/May/21/Web-Browser-Control-Specifying-the-IE-Version]http://weblog.west-wind.com/posts/2011/May/21/Web-Browser-Control-Specifying-the-IE-Version[/url]
and this documentation:
[url=http://msdn.microsoft.com/en-us/library/ie/ee330730(v=vs.85).aspx]http://msdn.microsoft.com/en-us/library/ie/ee330730(v=vs.85).aspx[/url]
Apparently, the web browser control when hosted in an application defaults to the IE 7 rendering mode. There's no easy way to say “use the latest version” when hosting the control. You can, however, specify a simple registry entry on a per .exe basis that then effectively enables the desired emulation mode for the host application.
[HKEY_LOCAL_MACHINESOFTWAREWow6432NodeMicrosoftInternet ExplorerMAINFeatureControlFEATURE_BROWSER_EMULATION]
“xmetal80.exe”=dword:00002af9
The problem in my case was that we were leveraging some HTML 5 CSS features that were not supported in IE 7. Making this tweak solved everything.
Hopefully this may help others as well.
Paul O'Rear