<?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: FeatureLayer data context in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/featurelayer-data-context/m-p/420215#M10833</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Thanks Ali. Problem solved. You are correct. The grid selection is automatically shown on the map. Plus I found the Export to Excel routine I had previously used with the regular silverlight datagrid also works with the featuredatagrid.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am looking for the way to export data from Data Grid to Excel. You suggested in your post that you have a routine how to do it. Could you explain me how to approach this issue?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 08 Jun 2011 13:40:24 GMT</pubDate>
    <dc:creator>JoannaLaroussi</dc:creator>
    <dc:date>2011-06-08T13:40:24Z</dc:date>
    <item>
      <title>FeatureLayer data context</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/featurelayer-data-context/m-p/420208#M10826</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I noticed that the FeatureDataGrid has a property for DataContext. Does this suggest that the FeatureLayer upon which the FeatureDataGrid also has a DataContext? I would like to be able to work with the FeatureLayer's attribute table as if it were a free standing table in the database (export it to excel for example). If the answer to this is yes, how would one go about establishing a link to the table?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Feb 2011 14:18:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/featurelayer-data-context/m-p/420208#M10826</guid>
      <dc:creator>DonFreeman</dc:creator>
      <dc:date>2011-02-16T14:18:34Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureLayer data context</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/featurelayer-data-context/m-p/420209#M10827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;FeatureLayer does not DataContext property as it is not of type FrameworkElement. Unfortunately, there is no such attribute table that you are looking for in feature layers and you would need to either iterate through the Graphic objects in your layer or FeatureDataGrid's ItemsSource in order to retrieve items attributes.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Feb 2011 18:13:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/featurelayer-data-context/m-p/420209#M10827</guid>
      <dc:creator>AliMirzabeigi</dc:creator>
      <dc:date>2011-02-17T18:13:37Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureLayer data context</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/featurelayer-data-context/m-p/420210#M10828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ali -&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The FeatureDataGrid is based on the FeatureLayer. Does it have a DataContext (intellisense suggests that it does) and can it be used to extract the attribute table?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Feb 2011 21:31:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/featurelayer-data-context/m-p/420210#M10828</guid>
      <dc:creator>DonFreeman</dc:creator>
      <dc:date>2011-02-17T21:31:57Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureLayer data context</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/featurelayer-data-context/m-p/420211#M10829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;FeatureDataGrid DataContext property does not have any data in regards to the attributes table. You need to extract the attributes from the graphic collection of your FeatureLayer or the ItemsSource in FeatureDataGrid like mentioned in post #2.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Feb 2011 21:39:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/featurelayer-data-context/m-p/420211#M10829</guid>
      <dc:creator>AliMirzabeigi</dc:creator>
      <dc:date>2011-02-17T21:39:48Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureLayer data context</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/featurelayer-data-context/m-p/420212#M10830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;OK Ali, here is my end game. The datagrid and the map are side by side on the page. There are no features selected on the map. The user selects a record in the datagrid. I want to display the corresponding feature on the map as the selected feature. How can I do that? Iterating through the graphics in the layer will do no good because none of them are selected yet. Therefore I need to extract the KeyID from the grid. Then iterate through the graphics and tag the right one as selected.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Mar 2011 18:11:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/featurelayer-data-context/m-p/420212#M10830</guid>
      <dc:creator>DonFreeman</dc:creator>
      <dc:date>2011-03-02T18:11:38Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureLayer data context</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/featurelayer-data-context/m-p/420213#M10831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Haven't you set FeatureDataGrid's "Map" property? If you did, then you wouldn't need to perform the selection on your layer as FeatureDataGrid automatically selects the corresponding Graphic of the selected row on your map.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Mar 2011 15:59:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/featurelayer-data-context/m-p/420213#M10831</guid>
      <dc:creator>AliMirzabeigi</dc:creator>
      <dc:date>2011-03-07T15:59:23Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureLayer data context</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/featurelayer-data-context/m-p/420214#M10832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Ali. Problem solved. You are correct. The grid selection is automatically shown on the map. Plus I found the Export to Excel routine I had previously used with the regular silverlight datagrid also works with the featuredatagrid.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Mar 2011 17:59:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/featurelayer-data-context/m-p/420214#M10832</guid>
      <dc:creator>DonFreeman</dc:creator>
      <dc:date>2011-03-07T17:59:02Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureLayer data context</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/featurelayer-data-context/m-p/420215#M10833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Thanks Ali. Problem solved. You are correct. The grid selection is automatically shown on the map. Plus I found the Export to Excel routine I had previously used with the regular silverlight datagrid also works with the featuredatagrid.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am looking for the way to export data from Data Grid to Excel. You suggested in your post that you have a routine how to do it. Could you explain me how to approach this issue?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jun 2011 13:40:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/featurelayer-data-context/m-p/420215#M10833</guid>
      <dc:creator>JoannaLaroussi</dc:creator>
      <dc:date>2011-06-08T13:40:24Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureLayer data context</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/featurelayer-data-context/m-p/420216#M10834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I am looking for the way to export data from Data Grid to Excel. You suggested in your post that you have a routine how to do it. Could you explain me how to approach this issue?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Check this out. It works fine for me.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://www.codeproject.com/KB/silverlight/SilverlightDataGridExport.aspx"&gt;http://www.codeproject.com/KB/silverlight/SilverlightDataGridExport.aspx&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jun 2011 14:10:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/featurelayer-data-context/m-p/420216#M10834</guid>
      <dc:creator>DonFreeman</dc:creator>
      <dc:date>2011-06-08T14:10:42Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureLayer data context</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/featurelayer-data-context/m-p/420217#M10835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jun 2011 18:07:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/featurelayer-data-context/m-p/420217#M10835</guid>
      <dc:creator>JoannaLaroussi</dc:creator>
      <dc:date>2011-06-08T18:07:47Z</dc:date>
    </item>
  </channel>
</rss>

