<?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: Silverlight Identify Help Needed in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/silverlight-identify-help-needed/m-p/367937#M9480</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you, Ali, that helped me clean up my structure! &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A couple more problems that remain: I am getting errors for&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Event handler 'QueryPoint_MouseClick' not found on class 'Liesa1.MainPage'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Event handler 'cb_SelectionChanged' not found on class 'Liesa1.MainPage' &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you tell what I am missing to cause these errors?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Liesa&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Dec 2010 13:53:44 GMT</pubDate>
    <dc:creator>ElizabethMiller</dc:creator>
    <dc:date>2010-12-29T13:53:44Z</dc:date>
    <item>
      <title>Silverlight Identify Help Needed</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/silverlight-identify-help-needed/m-p/367935#M9478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I successfully created my first basic map in Silverlight. Now I am attempting to add the Identify from the samples at &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#Identify"&gt;http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#Identify&lt;/A&gt;&lt;SPAN&gt;. I have copied the code from the sample and inserted it in the appropriate places in my xaml and in my xaml.vb files. I have added the esri.arcgis.client reference. When I try to launch my map I get numerous errors. Is there something else required in order to use the samples? I have downloaded all the silverlight tools. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For starters, the first error I receive is for &amp;lt;Grid.Resources&amp;gt;. The message I receive when I hover over this code is "The attachable property 'Resources' was not found in type 'Grid.'"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;Another error is this one: "The property 'Resources' does not exist on the type 'UserControl' in the XML namespace '&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://schemas.microsoft.com/winfx/2006/xaml/presentation" rel="nofollow" target="_blank"&gt;http://schemas.microsoft.com/winfx/2006/xaml/presentation&lt;/A&gt;&lt;SPAN&gt;'."&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have not done anything but attempt to copy the samples as they are provided by esri -- is there some trick to using the samples that I am missing?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks to anyone who can help this newbie.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Liesa&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Dec 2010 15:44:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/silverlight-identify-help-needed/m-p/367935#M9478</guid>
      <dc:creator>ElizabethMiller</dc:creator>
      <dc:date>2010-12-28T15:44:19Z</dc:date>
    </item>
    <item>
      <title>Re: Silverlight Identify Help Needed</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/silverlight-identify-help-needed/m-p/367936#M9479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Liesa,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Seems like you havn't defined the "Resources" in the right place. If you have resources defined for your UserControl then it should appear inside of your user control, i.e.:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
&amp;lt;UserControl x:Class="....." 
&amp;nbsp;&amp;nbsp; .....&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;UserControl.Resources&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .....
&amp;nbsp;&amp;nbsp; &amp;lt;/UserControl.Resources&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;Grid x:name="..."&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .....
&amp;nbsp;&amp;nbsp; &amp;lt;/Grid&amp;gt;
&amp;lt;/UserControl&amp;gt;
&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;If the resources should be defined in the level of your Grid control then you should have something like the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
&amp;lt;UserControl x:Class="....." 
&amp;nbsp;&amp;nbsp; .....&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;Grid x:name="..."&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Grid.Resources&amp;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;lt;/Grid.Resources&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .....
&amp;nbsp;&amp;nbsp; &amp;lt;/Grid&amp;gt;
&amp;lt;/UserControl&amp;gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 17:04:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/silverlight-identify-help-needed/m-p/367936#M9479</guid>
      <dc:creator>AliMirzabeigi</dc:creator>
      <dc:date>2021-12-11T17:04:35Z</dc:date>
    </item>
    <item>
      <title>Re: Silverlight Identify Help Needed</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/silverlight-identify-help-needed/m-p/367937#M9480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you, Ali, that helped me clean up my structure! &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A couple more problems that remain: I am getting errors for&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Event handler 'QueryPoint_MouseClick' not found on class 'Liesa1.MainPage'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Event handler 'cb_SelectionChanged' not found on class 'Liesa1.MainPage' &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you tell what I am missing to cause these errors?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Liesa&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Dec 2010 13:53:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/silverlight-identify-help-needed/m-p/367937#M9480</guid>
      <dc:creator>ElizabethMiller</dc:creator>
      <dc:date>2010-12-29T13:53:44Z</dc:date>
    </item>
    <item>
      <title>Re: Silverlight Identify Help Needed</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/silverlight-identify-help-needed/m-p/367938#M9481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You are missing the C# or VB code behind the XAML of your user control (MainPage). Simply look for those handlers, right-click on them and click on "Navigate to Event Handler" in the drop down menu. If you got the code from SDK samples and have the same functionality you could use the code available in "Code Behind C#" or "Code Behind VB" tabs on top of the frame showing the samples.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Dec 2010 14:12:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/silverlight-identify-help-needed/m-p/367938#M9481</guid>
      <dc:creator>AliMirzabeigi</dc:creator>
      <dc:date>2010-12-29T14:12:54Z</dc:date>
    </item>
  </channel>
</rss>

