Live samples throw error in IE

515
2
08-30-2010 12:43 PM
ChristopherBennett
New Contributor
Has anyone noticed that the live dojo-based JS API samples throw an error from IE?  For example:
http://resources.esri.com/help/9.3/arcgisserver/apis/javascript/arcgis/demos/layout/layout_FullMapLa...

With IE < 7, the browser (my test copy at least) reports error popups and doesn't render the page at all.

With IE 7, the page renders and looks correct but any attempt to resize shows an error symbol in the status bar.

Any ideas why?

The non-dojo-base samples don't exhibit this behavior.  For example:
http://resources.esri.com/help/9.3/arcgisserver/apis/javascript/arcgis/demos/map/map_dynamic.html

Firefox works fine of course.

-Chris.
0 Kudos
2 Replies
KellyHutchins
Esri Frequent Contributor
I think you are running into the bug described in the following discussion forum thread:
http://forums.esri.com/Thread.asp?c=158&f=2396&t=301691&mc=5

The thread has a patch you can apply if you are using 1.6. The bug is fixed in version 2.0 and the 2.0 samples are located here:
http://help.arcgis.com/EN/webapi/javascript/arcgis/help/jssamples_start.htm
0 Kudos
ChristopherBennett
New Contributor
Apologies for just getting around to seeing your reply.  I was expecting to be notified by email.  Yes, that thread and the patch addressed the problem.  Thanks!
0 Kudos