I am referncing this example for editing:http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#EditToolsExplicitSaveEverything is working fine but as the example shows its tageting a single editable Feature Classes. I have 3 editable FC's....I assume that I can add a combox with the 3 FCs names?Forcing the user to choose one...The set the LayerIDs in the XAML file to that value?For starters I created a textblock and hardcoded the layerIDs nameI then set the Editor as suchEverything seems to work except now the Add Polygon as seen in the example is grayed out....any thoughts?Why is the Add Polygon now disabled and not selectable?I basically want to be able to switch the editable FC....and Bind that to the LayerIDs in the Editor
<TextBlock x:Name="EditLayer" Text="MG_Polygon" FontSize="15" HorizontalAlignment="Center" FontStyle="Italic" Foreground="#FF0D2764" Margin="0,10,0,0" />
<esri:Editor x:Key="MyEditorPoint"
Map="{Binding ElementName=MyMap}"
LayerIDs="{Binding ElementName=EditLayer, Path=Text}"
GeometryServiceUrl="http://tasks.arcgisonline.com/ArcGIS/rest/services/Geometry/GeometryServer" />
<Border Background="#FF919191" BorderThickness="1" CornerRadius="5"
HorizontalAlignment="Right" VerticalAlignment="Top"
Padding="5" BorderBrush="Black" Margin="0,5,5,0"
DataContext="{StaticResource MyEditorPoint}">
<StackPanel x:Name="EditorTools" Orientation="Vertical">
<StackPanel Orientation="Horizontal">
<Button Command="{Binding Add}" Margin="2"
ToolTipService.ToolTip="Fire"
Content="Add Polygon">
<Button.CommandParameter>
<sys:Int32>10301</sys:Int32>
</Button.CommandParameter>
</Button>
<Button Command="{Binding DeleteSelected}" Margin="2">
<TextBlock>Delete<LineBreak/>Selected</TextBlock>
</Button>
<Button Command="{Binding ClearSelection}" Margin="2">
<TextBlock>Clear<LineBreak/>Selection</TextBlock>
</Button>
<Button Command="{Binding EditVertices}" Margin="2">
<TextBlock>Edit Vertices<LineBreak/>/Move Selected</TextBlock>
</Button>
</StackPanel>
</StackPanel>
</Border>