Reference for editor from Viewer Tool

671
1
07-27-2011 01:37 AM
GüntherGrill
New Contributor III
I am trying to implement this sample in a ArcGIS Viewer Visual Studio Template project

http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#FeatureLayerSelection

I removed the map part, as the map is defined in the map.xaml in the web project.
I created a user control, modified the code so that the tools would appear after pressing the tool icon:

MapApplication.Current.ShowWindow("Select Range", view);


So far that works however, the functions are greyed out since they are not bound to the layers in the map. How can I bind the editor defined in the user control to the (all) layers in the map?

Thanks,
Günther
0 Kudos
1 Reply
DominiqueBroux
Esri Frequent Contributor
If your question concerns the silverlight viewer, you may have more chance to get an answer by posting it in the beta forum.
0 Kudos