<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: DynamicLayer + VisibleLayers property in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/dynamiclayer-visiblelayers-property/m-p/363142#M9378</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Brian,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Even though you see the error can you still test Run the app?&amp;nbsp; I had the same thing and my app still ran. In the end I moved the VisibleLayers property setting from XAML into C#.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Rob Burke&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Esri Redlands - Instructor&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Jul 2010 22:08:19 GMT</pubDate>
    <dc:creator>RobertBurke</dc:creator>
    <dc:date>2010-07-15T22:08:19Z</dc:date>
    <item>
      <title>DynamicLayer + VisibleLayers property</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/dynamiclayer-visiblelayers-property/m-p/363140#M9376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am setting the VisibleLayers property in xaml&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;VisibleLayers="2,7,12"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and I am getting this error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Error 1 Unable to cast object of type 'Microsoft.Expression.DesignModel.DocumentModel.DocumentPrimitiveNode' to type 'Microsoft.Expression.DesignModel.DocumentModel.DocumentCompositeNode'.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jul 2010 05:23:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/dynamiclayer-visiblelayers-property/m-p/363140#M9376</guid>
      <dc:creator>BrianBorg</dc:creator>
      <dc:date>2010-07-15T05:23:21Z</dc:date>
    </item>
    <item>
      <title>Re: DynamicLayer + VisibleLayers property</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/dynamiclayer-visiblelayers-property/m-p/363141#M9377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you get this error in Blend only, it looks like the same issue than &lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/threads/3676-Error-message-explanation-needed"&gt;&lt;SPAN style="font-size:2;"&gt;http://forums.arcgis.com/threads/3676-Error-message-explanation-needed&lt;/SPAN&gt;&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jul 2010 09:33:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/dynamiclayer-visiblelayers-property/m-p/363141#M9377</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2010-07-15T09:33:28Z</dc:date>
    </item>
    <item>
      <title>Re: DynamicLayer + VisibleLayers property</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/dynamiclayer-visiblelayers-property/m-p/363142#M9378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Brian,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Even though you see the error can you still test Run the app?&amp;nbsp; I had the same thing and my app still ran. In the end I moved the VisibleLayers property setting from XAML into C#.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Rob Burke&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Esri Redlands - Instructor&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jul 2010 22:08:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/dynamiclayer-visiblelayers-property/m-p/363142#M9378</guid>
      <dc:creator>RobertBurke</dc:creator>
      <dc:date>2010-07-15T22:08:19Z</dc:date>
    </item>
    <item>
      <title>Re: DynamicLayer + VisibleLayers property</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/dynamiclayer-visiblelayers-property/m-p/363143#M9379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I had to remove it from xaml and put it in c#.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am not using blend but VS2010&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jul 2010 02:06:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/dynamiclayer-visiblelayers-property/m-p/363143#M9379</guid>
      <dc:creator>BrianBorg</dc:creator>
      <dc:date>2010-07-19T02:06:44Z</dc:date>
    </item>
    <item>
      <title>Re: DynamicLayer + VisibleLayers property</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/dynamiclayer-visiblelayers-property/m-p/363144#M9380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Unfortunately this is a bug in VS2010 (it used to be there in Blend 4 as well, but got fixed after we reported it - unfortunately didn't make it for VS2010). You code will still compile and run though.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Jul 2010 20:00:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/dynamiclayer-visiblelayers-property/m-p/363144#M9380</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2010-07-19T20:00:34Z</dc:date>
    </item>
  </channel>
</rss>

