I'm just getting started with Silverlight and I'm using trying to modify the fostertab template. All I want to do is change the content for the 3 radio buttons. I want to use different services. The problem I'm running into is I want to use one services that is Tiled and two services that are ImageServices. The template is set up grouping the three layers as and all the layers are tiled. So I was wondering if there was an easy way to set the last two radio buttons up for using non-tiled services (I want them to be set to image services). <esri:ArcGISTiledMapServiceLayer ID="BaseLayer"
Url="http://services.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer" Initialized="ArcGISTiledMapServiceLayer_Initialized" />
<esri:GraphicsLayer ID="MySelectionGraphicsLayer" />
<RadioButton Content="Street Base Topo" IsChecked="True" ToolTipService.ToolTip="World Topo Base Map" GroupName="BaseLayer" Margin="0" FontSize="11" >
<i:Interaction.Triggers>
<i:EventTrigger EventName="Checked">
<actions:SetLayerUrlAction TargetName="Map" LayerID="BaseLayer" Url="http://services.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer"/>
</i:EventTrigger>
</i:Interaction.Triggers>
</RadioButton>
<RadioButton Content="Imagery2" GroupName="BaseLayer" ToolTipService.ToolTip="ImageService2" Margin="5,0,0,0" FontSize="11" >
<i:Interaction.Triggers>
<i:EventTrigger EventName="Checked">
<actions:SetLayerUrlAction TargetName="Map" LayerID="BaseLayer" Url="ImageService2r" />
</i:EventTrigger>
</i:Interaction.Triggers>
</RadioButton>
<RadioButton Content="Imagery1" ToolTipService.ToolTip="Imagery Map1" GroupName="BaseLayer" Margin="5,0,0,0" FontSize="11" >
<i:Interaction.Triggers>
<i:EventTrigger EventName="Checked">
<actions:SetLayerUrlAction TargetName="Map" LayerID="BaseLayer" Url="ImageService"/>
</i:EventTrigger>
</i:Interaction.Triggers>
</RadioButton>
Thanks inadvance