Hi!
I've made an application in the Silverlight Viewer. I made tool myself for adding items from the portal, there are also two tools from ESRI called AddContentCommand and another AddIn called SearchTool.
When I add FeatureLayers from these different sources, they all behave differently and I can't find the controlling parameter for this. What I want is, regardless of the source, that features should only be retrieved within the maps extent. Right now it seems to be just random, or based in the settings of the previously loaded layer.
This picture shows the setting in the viewer, but I'd like to do it programatically with a behavior, i.e. any FeatureLayer added should have this setting by default.
[ATTACH=CONFIG]29194[/ATTACH]
Any help regarding this would be greatly appreciated.
Regards
Johan