English

Problem: Web Mapping Applications display or behave unexpectedly in Internet Explorer 8

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.