Whilst I have read numerous issues pertaining to the WebBrowser control and HTML5, I can't find an answer to this problem.
As the WebBrowser control is stuck in the last century with IE7 it appeared that editing the registry was the only workaround, but as our app is ClickOnce there was a permissions issue. We tried numerous third party controls that gave more grief than they were worth. Fast forward to recently and we discovered that adding
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
to the header of the target site produced perfect bootstrap formatting. :-) Then we got the JavaScript error "Object doesn't support property or method 'attachEvent' " :-( - that seemed odd as the browser was now reporting itself as Edge (tried with ie-11 as well - same result) and I know attachEvent was dropped in favour of addEventListener with IE11...
So it seems to me that even though the page is formatting as though the browser is Edge/IE11 JQuery is still seeing it as IE7 and sending the wrong script. Opening the page directly with IE11 or Edge works as it should..
Any idea what voodoo can be cooked up to overcome this?
Thanks