<?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: Bug in FeatureDataGrid 3.0 with Silverlight 4 in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/bug-in-featuredatagrid-3-0-with-silverlight-4/m-p/430185#M11118</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Okay, I've learned a bit...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It is true that FEATUREDATAGRID3, that comes with the arcgis api version 3 does not work with Silverlight 4.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[Infact, it stopped working since arcgis api 2.4)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Now, when we say Silveright 4, we don't mean the 'runtime' that is an add-on to your browswer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;We mean the Silverlight_Developer and Silverlight_Toolkit (and optionally ExpressionBlend stuff) that constitutes the Silverlight controls that you will have as references in your Visual Studio 2010 project.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Proof:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#FeatureDataGrid"&gt;http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#FeatureDataGrid&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;(these sampes are using arcgis api 2.4)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Look at the FeatureDataGrid sample on Toolkit Controls from above link.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It does not work (even if your runtime is Silverlight 5) because the application was built with the wrong combination of arcgis api and silverlight developer api.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So if you have featuredatagrid3 in your own custom application&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You must install (upgrade all the silverlight items) that are required for Arcgsi api 3.0 (see installations page)&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/silverlight-api/concepts/index.html#/Installation/016600000005000000/"&gt;http://resources.arcgis.com/en/help/silverlight-api/concepts/index.html#/Installation/016600000005000000/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And you MUST target the correct version of Silverlight in your Visual Studio project.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Jan 2013 21:16:04 GMT</pubDate>
    <dc:creator>AnastasiaAourik</dc:creator>
    <dc:date>2013-01-16T21:16:04Z</dc:date>
    <item>
      <title>Bug in FeatureDataGrid 3.0 with Silverlight 4</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/bug-in-featuredatagrid-3-0-with-silverlight-4/m-p/430178#M11111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Any one else have an issue with the FeatureDataGrid 3.0 in Silverlight 4?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We have the FeatureDataGrid set to a GraphicsLayer that we clear and populate with new "Selected Graphics". Basically a query to the server on a single layer that adds to the GraphicsLayer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The code is built in Silverlight 4 and works fine in Silverlight 5 but when ran in Silvelright 4 it gets a null value exceptions.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After debugging the code it appear to be in the following line of code:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;FeatureDataGrid.Silverlight.cs line ~394&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;&amp;nbsp; 
var enumerableGraphics = graphics.ToDataSource(fieldInfo, rangeDomainInfo, fieldProps, uniqueID, FilterSource, out objectType) as IEnumerable&amp;lt;object&amp;gt;;
&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;the graphics.ToDataSource returns a IEnumerable but when it gets cast to IEnumberable&amp;lt;object&amp;gt; it returns null;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So I fixed it with the following.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ///Fixes for Silverlight 4
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var enumerableGraphics = graphics.ToDataSource(fieldInfo, rangeDomainInfo, fieldProps, uniqueID, FilterSource, out objectType).AsList();

&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Dec 2012 20:18:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/bug-in-featuredatagrid-3-0-with-silverlight-4/m-p/430178#M11111</guid>
      <dc:creator>HyrumErnstrom</dc:creator>
      <dc:date>2012-12-18T20:18:52Z</dc:date>
    </item>
    <item>
      <title>Re: Bug in FeatureDataGrid 3.0 with Silverlight 4</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/bug-in-featuredatagrid-3-0-with-silverlight-4/m-p/430179#M11112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I too am having problems since upgrading to FeatureDataGrid 3.0.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm not quite clear on what you are doing:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have this in my xaml:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;esriToolkit:FeatureDataGrid x:Name="resultFeatureDataGrid"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MinHeight="200" MaxHeight="400" Margin="5" GridLinesVisibility="All" HeadersVisibility="All" ClipboardCopyMode="IncludeHeader"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; HorizontalAlignment="Stretch" VerticalAlignment="Stretch" AutoGenerateColumns="True" &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Map="{Binding ElementName=Map}" &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; GraphicsLayer="{Binding Layers.[MyGraphicsLayer], ElementName=Map}"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RowStyle="{StaticResource DataGridRowStyle1}" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;MyGraphicsLayer gets filled with a QueryExecuteTaskComplete from the args.FeatureSet..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would clear the MyGraphicsLayer and then loop through Features in Featureset and do&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;graphicsLayer.Graphics.Add(graphic)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But this does not work any longer.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jan 2013 22:02:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/bug-in-featuredatagrid-3-0-with-silverlight-4/m-p/430179#M11112</guid>
      <dc:creator>AnastasiaAourik</dc:creator>
      <dc:date>2013-01-07T22:02:12Z</dc:date>
    </item>
    <item>
      <title>Re: Bug in FeatureDataGrid 3.0 with Silverlight 4</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/bug-in-featuredatagrid-3-0-with-silverlight-4/m-p/430180#M11113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Could you share a sample allowing to reproduce the issue?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2013 05:57:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/bug-in-featuredatagrid-3-0-with-silverlight-4/m-p/430180#M11113</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2013-01-08T05:57:57Z</dc:date>
    </item>
    <item>
      <title>Re: Bug in FeatureDataGrid 3.0 with Silverlight 4</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/bug-in-featuredatagrid-3-0-with-silverlight-4/m-p/430181#M11114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am also seeing a bug with the feature data grid.&amp;nbsp; It seems similar to AnastasiaAourik is talking about, however I think the issue has to do with the "throttler" Dispatch Timer that was added.&amp;nbsp; I think the issue is in the code below:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;void DispatcherTimer_Tick(object sender, EventArgs e)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (startTime != null &amp;amp;&amp;amp; (DateTime.Now.Ticks - startTime.Ticks) &amp;gt;= 500)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; throttler.Stop();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Synchronizing selections in current DataGrid's page and the associated GraphicsLayer:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RestorePreviousSelection(GraphicsLayer.SelectedGraphics);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think the issue is if the GraphicsLayer has been cleared the process is throwing a null ref exception.&amp;nbsp; I could be wrong, but this is where I'm getting an error and it has to do with a null ref exception in the DispatcherTimer_Tick event right after I clear the graphics layer that is bound to the grid.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Chris&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2013 15:30:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/bug-in-featuredatagrid-3-0-with-silverlight-4/m-p/430181#M11114</guid>
      <dc:creator>ChrisTallman</dc:creator>
      <dc:date>2013-01-09T15:30:41Z</dc:date>
    </item>
    <item>
      <title>Re: Bug in FeatureDataGrid 3.0 with Silverlight 4</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/bug-in-featuredatagrid-3-0-with-silverlight-4/m-p/430182#M11115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Downloading the toolkit source I changed this section of code: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;void DispatcherTimer_Tick(object sender, EventArgs e)
{
 if (startTime != null &amp;amp;&amp;amp; (DateTime.Now.Ticks - startTime.Ticks) &amp;gt;= 500)
 {
&amp;nbsp; throttler.Stop();
&amp;nbsp; // Synchronizing selections in current DataGrid's page and the associated GraphicsLayer:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RestorePreviousSelection(GraphicsLayer.SelectedGraphics);&amp;nbsp;&amp;nbsp; 
 }&amp;nbsp;&amp;nbsp; 
}&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To this and my issue went away.&amp;nbsp; This is in the FeatureDataGrid.Silverlight.cs file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;void DispatcherTimer_Tick(object sender, EventArgs e)
{
 if (startTime != null &amp;amp;&amp;amp; (DateTime.Now.Ticks - startTime.Ticks) &amp;gt;= 500)
 {
&amp;nbsp; throttler.Stop();
&amp;nbsp; // Synchronizing selections in current DataGrid's page and the associated GraphicsLayer:
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (GraphicsLayer != null)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RestorePreviousSelection(GraphicsLayer.SelectedGraphics);&amp;nbsp;&amp;nbsp; 
 }&amp;nbsp;&amp;nbsp; 
}&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 19:20:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/bug-in-featuredatagrid-3-0-with-silverlight-4/m-p/430182#M11115</guid>
      <dc:creator>ChrisTallman</dc:creator>
      <dc:date>2021-12-11T19:20:37Z</dc:date>
    </item>
    <item>
      <title>Re: Bug in FeatureDataGrid 3.0 with Silverlight 4</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/bug-in-featuredatagrid-3-0-with-silverlight-4/m-p/430183#M11116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Dominque,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you confirm if this is the case.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I really don't want to change the API source so do you have another solution or can you tell me if a patch is coming shortly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,aa&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jan 2013 21:19:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/bug-in-featuredatagrid-3-0-with-silverlight-4/m-p/430183#M11116</guid>
      <dc:creator>AnastasiaAourik</dc:creator>
      <dc:date>2013-01-14T21:19:55Z</dc:date>
    </item>
    <item>
      <title>Re: Bug in FeatureDataGrid 3.0 with Silverlight 4</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/bug-in-featuredatagrid-3-0-with-silverlight-4/m-p/430184#M11117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Exception I get is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; at System.Linq.Enumerable.Count[TSource](IEnumerable`1 source)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; at ESRI.ArcGIS.Client.Toolkit.FeatureDataGrid.SetItemsSource(IEnumerable`1 graphics)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; at ESRI.ArcGIS.Client.Toolkit.FeatureDataGrid.UpdateItemsSource(Object sender, NotifyCollectionChangedEventArgs e)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; at ESRI.ArcGIS.Client.Toolkit.FeatureDataGrid.Graphics_CollectionChanged(Object sender, NotifyCollectionChangedEventArgs e)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; at System.Collections.Specialized.NotifyCollectionChangedEventHandler.Invoke(Object sender, NotifyCollectionChangedEventArgs e)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; at System.Collections.ObjectModel.ObservableCollection`1.OnCollectionChanged(NotifyCollectionChangedEventArgs e)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; at System.Collections.ObjectModel.ObservableCollection`1.InsertItem(Int32 index, T item)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; at ESRI.ArcGIS.Client.GraphicCollection.InsertItem(Int32 index, Graphic item)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; at System.Collections.ObjectModel.Collection`1.Add(T item)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; at WellsGisLocal.MainPage.doSpatialSearch_QueryTask_WELLS_ExecuteCompleted(Object sender, QueryEventArgs args)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I get this exception at this code line (when I am adding a Graphic to the GraphicLayer 'MyGraphicsLayer', which is a special layer that holds search results in my application.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; graphicsLayer.Graphics.Add(selectedFeature);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My XAML has this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;esriToolkit:FeatureDataGrid x:Name="resultFeatureDataGrid"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MinHeight="200" MaxHeight="400" Margin="5" GridLinesVisibility="All" HeadersVisibility="All" ClipboardCopyMode="IncludeHeader"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; HorizontalAlignment="Stretch" VerticalAlignment="Stretch" AutoGenerateColumns="True" &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Map="{Binding ElementName=Map}" BindingValidationError="resultFeatureDataGrid_BindingValidationError"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; GraphicsLayer="{Binding ElementName=Map, Path=Layers.[MyGraphicsLayer]}"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RowStyle="{StaticResource DataGridRowStyle1}" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It used to work that when I populate MyGraphicsLayer with results from a QueryTask (looping through featureSet)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;FeatureDataGrid that is bound to Map for Layers.[MyGraphicsLayer] would automatically populate, and since upgrading to &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;FeatureDataGrid3 (via the new ArcGIS Silverlight API) it no longer works.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Jan 2013 22:26:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/bug-in-featuredatagrid-3-0-with-silverlight-4/m-p/430184#M11117</guid>
      <dc:creator>AnastasiaAourik</dc:creator>
      <dc:date>2013-01-14T22:26:12Z</dc:date>
    </item>
    <item>
      <title>Re: Bug in FeatureDataGrid 3.0 with Silverlight 4</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/bug-in-featuredatagrid-3-0-with-silverlight-4/m-p/430185#M11118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Okay, I've learned a bit...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It is true that FEATUREDATAGRID3, that comes with the arcgis api version 3 does not work with Silverlight 4.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[Infact, it stopped working since arcgis api 2.4)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Now, when we say Silveright 4, we don't mean the 'runtime' that is an add-on to your browswer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;We mean the Silverlight_Developer and Silverlight_Toolkit (and optionally ExpressionBlend stuff) that constitutes the Silverlight controls that you will have as references in your Visual Studio 2010 project.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Proof:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#FeatureDataGrid"&gt;http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#FeatureDataGrid&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;(these sampes are using arcgis api 2.4)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Look at the FeatureDataGrid sample on Toolkit Controls from above link.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It does not work (even if your runtime is Silverlight 5) because the application was built with the wrong combination of arcgis api and silverlight developer api.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So if you have featuredatagrid3 in your own custom application&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You must install (upgrade all the silverlight items) that are required for Arcgsi api 3.0 (see installations page)&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/en/help/silverlight-api/concepts/index.html#/Installation/016600000005000000/"&gt;http://resources.arcgis.com/en/help/silverlight-api/concepts/index.html#/Installation/016600000005000000/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And you MUST target the correct version of Silverlight in your Visual Studio project.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jan 2013 21:16:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/bug-in-featuredatagrid-3-0-with-silverlight-4/m-p/430185#M11118</guid>
      <dc:creator>AnastasiaAourik</dc:creator>
      <dc:date>2013-01-16T21:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Bug in FeatureDataGrid 3.0 with Silverlight 4</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/bug-in-featuredatagrid-3-0-with-silverlight-4/m-p/430186#M11119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;if this is the case, it would be kind of ESRI to report this as a breaking change for Silverlight 4.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;also, if you've been using VS2010, plan to upgrade to VS2013, because (as stated in the link above) 'Blend Preview is no longer available, use blend with VS2012 SP2+ or VS2013' (to get 'Microsoft.Expression.Interactions back)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;fun times&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Nov 2013 20:20:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/bug-in-featuredatagrid-3-0-with-silverlight-4/m-p/430186#M11119</guid>
      <dc:creator>DaveOrlando</dc:creator>
      <dc:date>2013-11-26T20:20:44Z</dc:date>
    </item>
  </channel>
</rss>

