<?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 attribute query sample ! Plz Help in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/attribute-query-sample-plz-help/m-p/429485#M11065</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I use&amp;nbsp; attribute query sample its work but the problem is that in my XML have this codes&lt;/P&gt;&lt;P&gt;&amp;lt;esri:Map x:Name="MyMap" WrapAround="True" Extent="-15000000,2000000,-7000000,8000000"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;esri:ArcGISTiledMapServiceLayer ID="StreetMapLayer" &lt;/P&gt;&lt;P&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;nbsp;&amp;nbsp; Url="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer" rel="nofollow" target="_blank"&gt;http://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer&lt;/A&gt;&lt;SPAN&gt;"/&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;esri:GraphicsLayer ID="MyGraphicsLayer" /&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/esri:Map&amp;gt;&lt;/P&gt;&lt;P&gt;but i want to bind this map from my Main Map Page&lt;/P&gt;&lt;P&gt;How i Resolve this problem&lt;/P&gt;&lt;P&gt;I use another User Control&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/3055"&gt;Jennifer Nery&lt;/A&gt;‌&lt;A href="https://community.esri.com/space/2130"&gt;ArcGIS API for Silverlight&lt;/A&gt;‌@&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Jan 2015 06:40:06 GMT</pubDate>
    <dc:creator>Asgharkhan</dc:creator>
    <dc:date>2015-01-28T06:40:06Z</dc:date>
    <item>
      <title>attribute query sample ! Plz Help</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/attribute-query-sample-plz-help/m-p/429485#M11065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I use&amp;nbsp; attribute query sample its work but the problem is that in my XML have this codes&lt;/P&gt;&lt;P&gt;&amp;lt;esri:Map x:Name="MyMap" WrapAround="True" Extent="-15000000,2000000,-7000000,8000000"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;esri:ArcGISTiledMapServiceLayer ID="StreetMapLayer" &lt;/P&gt;&lt;P&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;nbsp;&amp;nbsp; Url="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer" rel="nofollow" target="_blank"&gt;http://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer&lt;/A&gt;&lt;SPAN&gt;"/&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;esri:GraphicsLayer ID="MyGraphicsLayer" /&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/esri:Map&amp;gt;&lt;/P&gt;&lt;P&gt;but i want to bind this map from my Main Map Page&lt;/P&gt;&lt;P&gt;How i Resolve this problem&lt;/P&gt;&lt;P&gt;I use another User Control&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/3055"&gt;Jennifer Nery&lt;/A&gt;‌&lt;A href="https://community.esri.com/space/2130"&gt;ArcGIS API for Silverlight&lt;/A&gt;‌@&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2015 06:40:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/attribute-query-sample-plz-help/m-p/429485#M11065</guid>
      <dc:creator>Asgharkhan</dc:creator>
      <dc:date>2015-01-28T06:40:06Z</dc:date>
    </item>
    <item>
      <title>Re: attribute query sample ! Plz Help</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/attribute-query-sample-plz-help/m-p/429486#M11066</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't know where is exactly your problem but there is lot of samples in the interactive SDK that binds the map to a control. See for example the &lt;A href="https://developers.arcgis.com/silverlight/sample-code/start.htm#MapProgressBar"&gt;MapProgressBar&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;If you want to look at the code of the control itself, it's available on&lt;A href="https://github.com/Esri/arcgis-toolkit-sl-wpf/tree/master/src/CommonAPI/API/ESRI.ArcGIS.Client.Toolkit/ProgressBar"&gt; github&lt;/A&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2015 10:16:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/attribute-query-sample-plz-help/m-p/429486#M11066</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2015-01-28T10:16:49Z</dc:date>
    </item>
    <item>
      <title>Re: attribute query sample ! Plz Help</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/attribute-query-sample-plz-help/m-p/429487#M11067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Sir , i use Attribute Query Sample ,&lt;/P&gt;&lt;P&gt;my problem is i use this script on another form, script is loading but loading the map on current form, i have also main map page where all controls ,&lt;/P&gt;&lt;P&gt;i want this script work my main map page not in this form&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Jan 2015 10:41:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/attribute-query-sample-plz-help/m-p/429487#M11067</guid>
      <dc:creator>Asgharkhan</dc:creator>
      <dc:date>2015-01-28T10:41:18Z</dc:date>
    </item>
    <item>
      <title>Re: attribute query sample ! Plz Help</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/attribute-query-sample-plz-help/m-p/429488#M11068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As Dominique mentioned we have several toolkit samples that do this. It might be best to see them in action during debug so you can better understand how the map is passed to the controls.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So if you have a different UserControl for your attribute query (i.e. AttributeQueryControl), you will need to define a Map as DependencyProperty like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Map to print (Dependency Property)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; public ESRI.ArcGIS.Client.Map Map
&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; get { return (ESRI.ArcGIS.Client.Map)GetValue(MapProperty); }
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; set { SetValue(MapProperty, value); }
&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; public static readonly DependencyProperty MapProperty = DependencyProperty.Register("Map", typeof(ESRI.ArcGIS.Client.Map), typeof(AttributeQueryControl), new PropertyMetadata(null, OnMapChanged));

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; private static void OnMapChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
&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; var control = d as AttributeQueryControl;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var newMap = e.NewValue as ESRI.ArcGIS.Client.Map;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Do what you need to do with the map here.
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which you can then later you use like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;esri:Map x:Name="MyMap" WrapAround="True" Extent="-15000000,2000000,-7000000,8000000"&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;lt;esri:ArcGISTiledMapServiceLayer ID="StreetMapLayer"
&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;nbsp;&amp;nbsp; Url="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer" rel="nofollow noopener noreferrer" target="_blank"&gt;http://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer&lt;/A&gt;&lt;SPAN&gt;"/&amp;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;lt;esri:GraphicsLayer ID="MyGraphicsLayer" /&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/esri:Map&amp;gt;

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;local:AttributeQueryControl x:Name="MyControl" Map="{Binding ElementName=MyMap}" VerticalAlignment="Center" HorizontalAlingment="Center"/&amp;gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 19:19:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/attribute-query-sample-plz-help/m-p/429488#M11068</guid>
      <dc:creator>JenniferNery</dc:creator>
      <dc:date>2021-12-11T19:19:14Z</dc:date>
    </item>
    <item>
      <title>Re: attribute query sample ! Plz Help</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/attribute-query-sample-plz-help/m-p/429489#M11069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; i understand Now , This Method Have some Assembly Problems ,&lt;/P&gt;&lt;P&gt;Actually my Boss Want 2 Query tools&amp;nbsp; 1 is combox and 1 is select layer from combo and then search with textbox and button, &lt;/P&gt;&lt;P&gt;I use another user control , so i want bind my main map , if u provide me this 2 tools samples from another user Control, i will understand it Better , i like ur teaching style and want learn something from you&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jan 2015 04:14:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/attribute-query-sample-plz-help/m-p/429489#M11069</guid>
      <dc:creator>Asgharkhan</dc:creator>
      <dc:date>2015-01-29T04:14:09Z</dc:date>
    </item>
    <item>
      <title>Re: attribute query sample ! Plz Help</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/attribute-query-sample-plz-help/m-p/429490#M11070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok well , i am asking 1 thing more ,How define namespace for this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Feb 2015 07:34:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/attribute-query-sample-plz-help/m-p/429490#M11070</guid>
      <dc:creator>Asgharkhan</dc:creator>
      <dc:date>2015-02-05T07:34:43Z</dc:date>
    </item>
  </channel>
</rss>

