<?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: ZOOM TO QUERY RESULTS in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/zoom-to-query-results/m-p/695435#M17850</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Did you look at this sample : &lt;A href="http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#SpatialQuery"&gt;http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#SpatialQuery&lt;/A&gt; ?&lt;BR /&gt; &lt;BR /&gt;The result of the query task is displayed in a datagrid, and when a row is selected, the feature is selected in the map.&lt;BR /&gt;Is it what you want to do?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you very much Dominique!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Apr 2011 06:09:22 GMT</pubDate>
    <dc:creator>vipulsoni</dc:creator>
    <dc:date>2011-04-04T06:09:22Z</dc:date>
    <item>
      <title>ZOOM TO QUERY RESULTS</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/zoom-to-query-results/m-p/695431#M17846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I need help for a query task which zooms to the results from the datagrid selection changed event. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="text-decoration:underline;"&gt;&lt;STRONG&gt;In the given sample &lt;BR /&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;BR /&gt;If I click on the grid results the map should zoom/highlight to correct features.&lt;/STRONG&gt;. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Like in the find task sample &amp;gt; &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;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After&amp;nbsp; (through query task)&amp;nbsp; several attempts (all failed) I was not able to get the attributes filled in a datagrid , though I get a datagrid filled with rows (row count seems to be correct) but with empty records..white spaces&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please help as I dont know what I am doing wrong in my code.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Mar 2011 08:28:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/zoom-to-query-results/m-p/695431#M17846</guid>
      <dc:creator>vipulsoni</dc:creator>
      <dc:date>2011-03-28T08:28:01Z</dc:date>
    </item>
    <item>
      <title>Re: ZOOM TO QUERY RESULTS</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/zoom-to-query-results/m-p/695432#M17847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt; I was not able to get the attributes filled in a datagrid &lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;How is set the ItemsSource property of your datagrid?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hw are set the columns?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Mar 2011 08:58:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/zoom-to-query-results/m-p/695432#M17847</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2011-03-28T08:58:51Z</dc:date>
    </item>
    <item>
      <title>Re: ZOOM TO QUERY RESULTS</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/zoom-to-query-results/m-p/695433#M17848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;How is set the ItemsSource property of your datagrid?&lt;BR /&gt;Hw are set the columns?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for the reply! &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;slData:DataGridTextColumn Binding="{Binding Attributes[test]}" Header="test" /&amp;gt;&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;lt;slData:DataGridTextColumn Binding="{Binding Attributes[name]}" Header="Name"/&amp;gt;&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;lt;slData:DataGridTextColumn Binding="{Binding Attributes[bld_id]}" Header="Bld_ID" /&amp;gt;&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;lt;slData:DataGridTextColumn Binding="{Binding Attributes[Remark]}" Header="Remark"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried the above code for binding with the exact names as the attribute column names...but did not help..&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;in CS file -&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;FindDetailsDataGrid.ItemsSource = args.FeatureSet;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;so i guess the binding of the datagrid was correct but what I wanted to know is that how in findtask sample on the datagrid selection changed event the map zooms to results ..same functionality I wanted to show with query task , so that I have my datagrid populated with some more fields other than the primary field thus helping the user to decide which feature he wants to select.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Mar 2011 11:15:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/zoom-to-query-results/m-p/695433#M17848</guid>
      <dc:creator>vipulsoni</dc:creator>
      <dc:date>2011-03-28T11:15:11Z</dc:date>
    </item>
    <item>
      <title>Re: ZOOM TO QUERY RESULTS</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/zoom-to-query-results/m-p/695434#M17849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Did you look at this sample : &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#SpatialQuery"&gt;http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#SpatialQuery&lt;/A&gt;&lt;SPAN&gt; ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The result of the query task is displayed in a datagrid, and when a row is selected, the feature is selected in the map.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it what you want to do?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Mar 2011 12:19:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/zoom-to-query-results/m-p/695434#M17849</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2011-03-28T12:19:07Z</dc:date>
    </item>
    <item>
      <title>Re: ZOOM TO QUERY RESULTS</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/zoom-to-query-results/m-p/695435#M17850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Did you look at this sample : &lt;A href="http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#SpatialQuery"&gt;http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#SpatialQuery&lt;/A&gt; ?&lt;BR /&gt; &lt;BR /&gt;The result of the query task is displayed in a datagrid, and when a row is selected, the feature is selected in the map.&lt;BR /&gt;Is it what you want to do?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you very much Dominique!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Apr 2011 06:09:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/zoom-to-query-results/m-p/695435#M17850</guid>
      <dc:creator>vipulsoni</dc:creator>
      <dc:date>2011-04-04T06:09:22Z</dc:date>
    </item>
  </channel>
</rss>

