Refresh featureLayers automatically on extent change

Discussion created by whileyryan on Jul 10, 2013
Latest reply on Jul 10, 2013 by dcastano

I'm currently experiencing some trouble with my zoom functions.  Whenever I zoom or enter a search on my application, the extent changes to the proper location, but the map just remains blurry and nothing can be seen.  I have tried all the solutions from [url=http://forums.arcgis.com/threads/48229-Is-there-a-way-to-refresh-the-graphics-on-the-map?highlight=refresh]this thread[/url] but none of them worked.  I attached a featureLayer.refresh() to my centerAndZoom but that did not work either.  I have also added the below code to my proxy according to the last post on [url=http://forums.arcgis.com/threads/54774-Disable-Caching-on-FeatureLayer.refresh%28%29?highlight=refresh]this thread[/url]
response.setDateHeader ("Expires", 0);
But that did not work either.  So I am just not really sure how to go about fixing this.  It appears that there have been a few people who have managed to solve this issue but I have not been able to solve it with their solutions.  Any assistance anyone can give me would be greatly appreciated.