<?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: How to assign identify output to an info window in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-assign-identify-output-to-an-info-window/m-p/690987#M17763</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;SPAN&gt;args.IdentifyResults is a collection of IdentifyResult. It would be better if you iterate through this collection and&amp;nbsp; pass IdentifyResult.Feature.Attributes to infoWindow. You need to adjust infoWindow's data template accordingly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Girish&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 May 2013 19:53:03 GMT</pubDate>
    <dc:creator>GirishYadav</dc:creator>
    <dc:date>2013-05-10T19:53:03Z</dc:date>
    <item>
      <title>How to assign identify output to an info window</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-assign-identify-output-to-an-info-window/m-p/690986#M17762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have an infowindow defined with a datatemplate. I want to perform an identify task and display the result in the infowindow. My code works to popup the infowindow but it comes up empty. How do I make the assignment to get the data into the infowindow? Also, in the definition of the identify task, is there a way to specify the single layer we want the results to come from?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is my current code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;private void IdentifyTask_ExecuteCompleted(object sender, IdentifyEventArgs args)
&amp;nbsp; {
&amp;nbsp;&amp;nbsp; if (args.IdentifyResults != null &amp;amp;&amp;amp; args.IdentifyResults.Count &amp;gt; 0)
&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp; // MessageBox.Show(args.IdentifyResults.Count.ToString());

&amp;nbsp;&amp;nbsp;&amp;nbsp; MyInfoWindow.Anchor = clickPoint;

&amp;nbsp;&amp;nbsp;&amp;nbsp; MyInfoWindow.IsOpen = true;
&amp;nbsp;&amp;nbsp;&amp;nbsp; MyInfoWindow.Content = args.IdentifyResults;
&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp; else
&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp; MyInfoWindow.IsOpen = false;
&amp;nbsp;&amp;nbsp; }
&amp;nbsp; }&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 May 2013 19:07:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-assign-identify-output-to-an-info-window/m-p/690986#M17762</guid>
      <dc:creator>DonFreeman</dc:creator>
      <dc:date>2013-05-09T19:07:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to assign identify output to an info window</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-assign-identify-output-to-an-info-window/m-p/690987#M17763</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;SPAN&gt;args.IdentifyResults is a collection of IdentifyResult. It would be better if you iterate through this collection and&amp;nbsp; pass IdentifyResult.Feature.Attributes to infoWindow. You need to adjust infoWindow's data template accordingly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Girish&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 May 2013 19:53:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-assign-identify-output-to-an-info-window/m-p/690987#M17763</guid>
      <dc:creator>GirishYadav</dc:creator>
      <dc:date>2013-05-10T19:53:03Z</dc:date>
    </item>
  </channel>
</rss>

