ArcGIS2009. 11. 19. 10:30

ArcGIS 9.3을 이용한 기본 Web Mapping Applications이 IE8에서 제대로 작동을 못한다.
해결책은 호환성 보기 또는 소스에 기본 렌더링 브라우저를 IE7로 바꾸면 된다.(사실 렌더링 모드를 바꾼다는게 근본적인 해결책이 아니라는걸 알지만... ESRI의 공식적인 답변도 이와 같은이 패치가 나오기 전까진 이 방법을 쓰도록 하자)

아래 내용은 ESRI의 답변이다.

Problem:  Web Mapping Applications display or behave unexpectedly in Internet Explorer 8
Article ID: 36454
Bug Id: N/A
Software:  ArcGIS Server 9.2, 9.3
Platforms: N/A

Description

When using a Web Mapping Application in Internet Explorer 8, the display of the application is incorrect or features do not work as expected. The same Web application works as expected when viewed in Internet Explorer 7.

A common problem is that graphics may not display with the correct symbology or graphics may not render at all. Text and images may also be offset from the expected location.

This issue applies to Web applications built with the versions of ArcGIS Server Web ADF for the Microsoft .NET Framework prior to version 9.3.1.

Cause

Internet Explorer 8 includes changes that can cause applications built for earlier versions of Internet Explorer to not display and function as intended.

The following is MSDN documentation regarding Internet Explorer 8 compatibility:

Defining Document Compatibility when using Internet Explorer 8

Solution or Workaround

The 9.3.1 Web ADF addresses many of these issues.

When using an earlier version of the Web ADF, select one of the following options to have the Web application work correctly in Internet Explorer 8.

Option 1 - If you are the developer of the Web application

a) Open the Default.aspx file of the Web application in Visual Studio or a text editor.

b) View the source of the page and locate the following line:

<head id="Head1" runat="server">

c) Add the following line of code immediately after the above line:

<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />

d) Applying this change causes the application to emulate Internet Explorer 7 when it renders.

Option 2 - If you are not the developer of the Web application

a) Open Internet Explorer 8 and select Tools > Compatibility View Settings.

b) Enter the name of the Web site hosting the Web application and click Add.

c) This causes all applications located on that specific Web site to display as if the browser was Internet Explorer 7.

Created: 3/20/2009
Last Modified: 4/2/2009

Posted by Jake Kim