<?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 TemplatePicker error in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/templatepicker-error/m-p/549350#M14042</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have this error when I set the LayerIDs on a TemplatePicker (I am using the code from ESRI Template Picker sample, Visual Studio 2010, Silverlight 4 and ArcGIS API for Silverlight 2.0)&amp;nbsp; :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;"Unable to cast object of type 'Microsoft.Expression.DesignModel.DocumentModel.DocumentPrimitiveNode' to type 'Microsoft.Expression.DesignModel.DocumentModel.DocumentCompositeNode'"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any suggestions?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 31 Aug 2010 19:27:29 GMT</pubDate>
    <dc:creator>DanDulan</dc:creator>
    <dc:date>2010-08-31T19:27:29Z</dc:date>
    <item>
      <title>TemplatePicker error</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/templatepicker-error/m-p/549350#M14042</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have this error when I set the LayerIDs on a TemplatePicker (I am using the code from ESRI Template Picker sample, Visual Studio 2010, Silverlight 4 and ArcGIS API for Silverlight 2.0)&amp;nbsp; :&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;"Unable to cast object of type 'Microsoft.Expression.DesignModel.DocumentModel.DocumentPrimitiveNode' to type 'Microsoft.Expression.DesignModel.DocumentModel.DocumentCompositeNode'"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any suggestions?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Aug 2010 19:27:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/templatepicker-error/m-p/549350#M14042</guid>
      <dc:creator>DanDulan</dc:creator>
      <dc:date>2010-08-31T19:27:29Z</dc:date>
    </item>
    <item>
      <title>Re: TemplatePicker error</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/templatepicker-error/m-p/549351#M14043</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It looks the same issue than &lt;/SPAN&gt;&lt;A href="http://forums.arcgis.com/threads/8290-DynamicLayer-VisibleLayers-property?highlight=designmodel+documentmodel"&gt;http://forums.arcgis.com/threads/8290-DynamicLayer-VisibleLayers-property?highlight=designmodel+documentmodel&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Morten's asnwer:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt; &lt;BR /&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;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Aug 2010 22:51:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/templatepicker-error/m-p/549351#M14043</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2010-08-31T22:51:00Z</dc:date>
    </item>
  </channel>
</rss>

