Select to view content in your preferred language

Missing features in Showcase template of ESRI Silverlight API v.3

751
1
11-02-2012 11:23 AM
NickAthanasis
Emerging Contributor
Dear readers,

I am facing problems to re-build my Silverlight-based application in  ArcGIS API for Silverlight v.3. The main problem is that our  application was based on a ShowCase template with a lot of functionalities (e.g. split the main GUI area into 2 sub-areas and put some interactivity buttons in one of them, Layer controls e.g. change layer transparency) etc. This showcase template was available from http://resources.esri.com/arcgisserv...scriptID=16504, but now the template is no further available. The new available Showcase template for API v.3 does not contain all these functionalities.


I tried to add the missing feature of splitting the area into 2 parts.
The following fragment from the old template shows the corresponding code :
<local:LayerCheckBox x:Name="layerWeather2" ConfiguratorParent="{Binding ElementName=LeftMenu}"
Map="{Binding ElementName=Map}"
Checked="layerChecked" Unchecked="layerUnchecked"
Style="{StaticResource checkBox}" Content="Weather Forecast" Foreground="White" >
<local:LayerCheckBox.Configurator>
<local:ConfiguratorContainer Visibility="Visible">
<StackPanel>

.....
</StackPanel>
</local:ConfiguratorContainer>
</local:LayerCheckBox.Configurator>
</local:LayerCheckBox>



Even though I added the corresponding xaml code (i.e. classes LayerCheckBox and Configurator.Container), the compilation is unsuccessful:error:" A LayerCheckBox.Configurator cannot contain a ConfiguratorContainer. "

What do you suggest me to do in order to migrate successfully?
Does anyone face the same problem?


I thank you in advance.
Nikos
0 Kudos
1 Reply
DominiqueBroux
Esri Frequent Contributor
AFAIK the showcase Template has never included the 'LayerCheckBox', 'Configurator', 'ConfiguratorContainer' components which seems missing in your project.
I guess they have been added manually after getting the template.
0 Kudos