플로팅 라이브러리 Flot을 사용하고 있습니다. 그것은 IE8과 IE9에서 잘 작동하는 것으로 보이지만 IE9 호환성보기에서는 문제가 발생합니다. 그래프를 렌더링하지 않습니다. 이 HTML5 canvas
개체 때문에 많이 사용하지만 용의자가 잘못 될 수 있습니다 용의자. 나는 다음과 같은 일을 시도 :호환성보기를 제거 할 수 없습니까?
추가 :
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
내 HTML<head></head>
태그에. 심지어IE=8
과IE=9
을 시도했는데 그 중 하나도 도움이되지 않았습니다. 이 같은 내 태그보기는 :void Application_End(object sender, EventArgs e) { // Code that runs on application shutdown Response.Headers.Add("X-UA-Compatible", "IE=Edge"); }
I :
<!DOCTYPE html PUBLIC "-W3CDTD XHTML 1.1EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <meta http-equiv="X-UA-Compatible" content="IE=8" /> ... </head> <body> ... </body> </html>
난 여전히 문제를보고 있었기 때문에, 나는 내 Global.asax.cs 파일에 다음과 같은 추가 여전히 문제에 직면 해있다. 내가 얻는 오류는 다음과 같습니다.
HTML1202: http://intranetdomain/SampleProj/Default.aspx is running in Compatibility View because 'Display intranet sites in Compatibility View' is checked.
Default.aspx
HTML1113: Document mode restart from IE7 Standards to IE9 Standards
Default.aspx
어쨌든 이것을 타고 있습니까?
EDIT : 내 응답 헤더를 확인하고 그 줄을 Global.asax.cs
에 추가하면 헤더에 추가되지 않았습니다. 이유가 궁금합니다.
응답 헤더 :
Key Value
Response HTTP/1.1 200 OK
Cache-Control private
Content-Type text/html; charset=utf-8
Server Microsoft-IIS/7.5
X-AspNet-Version 4.0.30319
X-Powered-By ASP.NET
Date Thu, 27 Oct 2011 20:39:55 GMT
Content-Length 29088
편집 2 : 분명히, Application_End
잘못된 사건이었다. 대신, 다음과 같이 헤더에 요소를 삽입합니다.
void Application_BeginRequest(object sender, EventArgs e)
{
Response.Headers.Add("X-UA-Compatible", "IE=Edge");
}
그러나 문제 자체는 여전히 유지됩니다.
시도 했습니까? IE는 메타 태그 목록에서 처음 발생하는 경우에만 이에 응답하는 것으로 보입니다. – SliverNinja
@SliverNinja : 예. 첫 번째 태그로 사용했습니다. 또한 사용중인 정확한 마크 업과 함께 내 질문을 업데이트했습니다. – Legend
그때 인기있는 피드백 (http://stackoverflow.com/questions/637039/how-to-avoid-ie8-compatibility-button)에 따라 작동해야합니다. – SliverNinja