Select to view content in your preferred language

Issue with IE and popups

2401
2
03-28-2012 08:09 AM
JasonSheldon
Occasional Contributor
Hi all,

I have a page where the popups are working ok in firefox and chrome and IE9, but not in IE8 or below.  

Here is the page:  http://gis.naperville.il.us/mashups/eab

You can use an address like 913 N Eagle St  or 400 S Eagle St to see how the site works.

Here is the process.  The user enters an address and it does a geocode, when it gets a result the following happens:

Parcel is selected using the x,y from the geocode
Geometry from the parcel is buffered by 30 feet
Buffered geometry is used to select trees in the right of way
Popup is displayed showing the attributes from the trees that we want to display

For some reason, I think the callbacks are causing the popup I want to get overwritten with on that just says "Searching..."

I'm not sure where the "Searching..." text in the popup is coming from.  I'm assuming it's something that the javascript api does by default since it's not in my code. 

Any help would be greatly appreciated since the site was supposed to go live a few days ago and I have angry users 🙂

Thanks in advance,

Jason Sheldon
GIS Coordinator
City of Naperville, IL
0 Kudos
2 Replies
StephenLead
Honored Contributor
Hi Jason,

FWIW this works for me in IE9 on Windows 7. In IE8 mode, it returns an error message

esri.layers.FeatureLayer: objectIdField is not set [url: http://gis.naperville.il.us/ArcGIS/rest/services/EAB/MapServer/1]


I haven't looked at your code to see why this is a problem, but hopefully that's an easy fix (switch on the OBJECTID field on that layer, and refresh the ArcGIS Server service).

Steve
0 Kudos
JasonSheldon
Occasional Contributor
Hi Steve,

Thanks for the suggestion.  I did change the layer so that the objectid is now visible, but unfortunately I still have the problem.  I really think it's the order that the results are coming back and being processed that is the issue.  I think the response is actually getting to the browser (though it's not as easy to tell as it is with firefox and using firebug) but the results are actually getting overwritten by the "Searching..." text.  I wish there was a way to supress that message altogether.

Jason
0 Kudos