<?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: Findtask datagrid display in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/findtask-datagrid-display/m-p/130163#M3227</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Jennifer, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you very much. Such a simple fix. I forget that I could enable an ESRI FeatureDataGrid in the XAML. I was using an windows data grid and trying to apply it within the C# code. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That helped.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 Aug 2011 12:49:38 GMT</pubDate>
    <dc:creator>gabrielvazquez</dc:creator>
    <dc:date>2011-08-26T12:49:38Z</dc:date>
    <item>
      <title>Findtask datagrid display</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/findtask-datagrid-display/m-p/130161#M3225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am using a findtask to query a layer. Similiar to the this example &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#Find"&gt;http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#Find&lt;/A&gt;&lt;SPAN&gt; . I am also trying to export all of the query result fields to datagrid, as is done in the example. However, I am not sure how to export all of the data field results to the datagrid using the findtask. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can do it easily with a querytask, similar to this example &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#QueryWithoutMap"&gt;http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#QueryWithoutMap&lt;/A&gt;&lt;SPAN&gt;. However I'm not sure how to get all of layer data from a findtask to populate the featuredatagrid. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have the Findtask results bound to the datagrid, however the datagrid just comes up blank. Not sure if this has to do with the fact that I am not defining any output fields, as is done with a querytask "query.OutFields.Add("*");" or if there is some other specific syntax I am missing. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I thought it would be something as simple as using datagrid.Itemsource = args.FindResults; However that does not work also, if someone has any experience with data grids, and importing FindTask results, please let me know.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Aug 2011 17:17:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/findtask-datagrid-display/m-p/130161#M3225</guid>
      <dc:creator>gabrielvazquez</dc:creator>
      <dc:date>2011-08-25T17:17:05Z</dc:date>
    </item>
    <item>
      <title>Re: Findtask datagrid display</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/findtask-datagrid-display/m-p/130162#M3226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you want to use FeatureDataGrid to display results of your tasks, you can use GraphicsLayer to add/remove Graphics in your ExecuteCompleted event handler and be sure to set Map and GraphicsLayer property in XAML, as seen below:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
&amp;nbsp; &amp;lt;esri:FeatureDataGrid Grid.Row="2" x:Name="MyDataGrid"
&amp;nbsp;&amp;nbsp;&amp;nbsp; Map="{Binding ElementName=MyMap}"
&amp;nbsp;&amp;nbsp;&amp;nbsp; GraphicsLayer="{Binding ElementName=MyMap, Path=Layers.[MyGraphicsLayer]}" /&amp;gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 07:19:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/findtask-datagrid-display/m-p/130162#M3226</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2021-12-11T07:19:51Z</dc:date>
    </item>
    <item>
      <title>Re: Findtask datagrid display</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/findtask-datagrid-display/m-p/130163#M3227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Jennifer, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you very much. Such a simple fix. I forget that I could enable an ESRI FeatureDataGrid in the XAML. I was using an windows data grid and trying to apply it within the C# code. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That helped.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Aug 2011 12:49:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/findtask-datagrid-display/m-p/130163#M3227</guid>
      <dc:creator>gabrielvazquez</dc:creator>
      <dc:date>2011-08-26T12:49:38Z</dc:date>
    </item>
  </channel>
</rss>

