AnsweredAssumed Answered

Datagrid and Feature Layer Not Populating/Displaying on Browser Refresh

Question asked by ipeebles on Feb 25, 2016
Latest reply on Feb 26, 2016 by rscheitlin

I have a simple data grid that is populated when the browser is opened.  The feature layer displays.  However, if you refresh the browser or close the browser and open the application back up, the data grid is not populated and the feature layer does not display.  If you refresh the browser again, the data grid displays data and the feature layer displays.  I have a work around, but it seems that it is causing issues with my zoom to feature.

 

I am currently using ArcGIS Server 10.1 SP1 with hope to upgrade soon.

 

So here is a sample workflow:

 

1. Open the browser, datagrid/feature layer displays

2. Refresh the browser, datagrid/feature layer is gone

3. Open the browser, datagrid/feature layer displays

4. Refresh the browser, datagrid/feature layer is gone

5. Open the browser, datagrid/feature layer displays

6. Refresh the browser, datagrid/feature layer is gone

 

Has anyone experienced this issue?

 

Attached is a copy of the simple application. Using an ESRI sample with simple modifications.

 

using the query.where = "1=1"; piece of code on line 110 seems to prevent my issue of having zoom issues to the feature on the map.

 

Any ideas?  Thanks.  Ian

Attachments

Outcomes