FeatureLayer not showing same data as ArcGISDynamicMapServiceLayer

Discussion created by aaweixel@nd.gov on Aug 30, 2011
Latest reply on Aug 31, 2011 by rcoodey
I was doing some testing and noticed the following problem.

When I add this layer <esri:ArcGISDynamicMapServiceLayer ID="ND2" VisibleLayers="2" Url="http://ndgishub.nd.gov/ArcGIS/rest/services/All_GovtLands_State/MapServer" /> (note that it is only looking at layer id 2), it shows everything as expected.

However when I use a FeatureLayer like this <esri:FeatureLayer x:Name="FeatureLayer" ID="FeatureLayer" Url="http://ndgishub.nd.gov/ArcGIS/rest/services/All_GovtLands_State/MapServer/2" Color="DarkTurquoise" /> which is also just pointing to layer id 2 - it only returns about half of the shapes as the ArcGISDynamicMapServiceLayer.

What are the possible causes for this? We want to use the FeatureLayer.