<?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 How to bind an attribute field to a combobox? in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-bind-an-attribute-field-to-a-combobox/m-p/720400#M18493</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I saw a few samples related to bind layers or sublayers names to a combobox. I would like to know how to bind a column of attribute (like STATE_NAME) in one single layer(like &lt;/SPAN&gt;&lt;A href="http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Demographics/ESRI_Census_USA/MapServer/5"&gt;http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Demographics/ESRI_Census_USA/MapServer/5&lt;/A&gt;&lt;SPAN&gt;) to a combobox. So the combobox will list all the state names. Thank you &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Apr 2011 18:48:11 GMT</pubDate>
    <dc:creator>DanDong</dc:creator>
    <dc:date>2011-04-13T18:48:11Z</dc:date>
    <item>
      <title>How to bind an attribute field to a combobox?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-bind-an-attribute-field-to-a-combobox/m-p/720400#M18493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I saw a few samples related to bind layers or sublayers names to a combobox. I would like to know how to bind a column of attribute (like STATE_NAME) in one single layer(like &lt;/SPAN&gt;&lt;A href="http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Demographics/ESRI_Census_USA/MapServer/5"&gt;http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Demographics/ESRI_Census_USA/MapServer/5&lt;/A&gt;&lt;SPAN&gt;) to a combobox. So the combobox will list all the state names. Thank you &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Apr 2011 18:48:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-bind-an-attribute-field-to-a-combobox/m-p/720400#M18493</guid>
      <dc:creator>DanDong</dc:creator>
      <dc:date>2011-04-13T18:48:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to bind an attribute field to a combobox?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-bind-an-attribute-field-to-a-combobox/m-p/720401#M18494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt; &lt;BR /&gt;So the combobox will list all the state names.&lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&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#AttributeQuery"&gt;http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#AttributeQuery&lt;/A&gt;&lt;SPAN&gt;?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Apr 2011 06:47:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-bind-an-attribute-field-to-a-combobox/m-p/720401#M18494</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2011-04-14T06:47:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to bind an attribute field to a combobox?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-bind-an-attribute-field-to-a-combobox/m-p/720402#M18495</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#AttributeQuery" rel="nofollow noopener noreferrer" target="_blank"&gt;http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#AttributeQuery&lt;/A&gt;?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, I saw this sample's code. It seems like performing a query task for initially loading the state_name&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
queryTask.ExecuteAsync(query, "initial");
&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Right now I am using this method, I am just wondering whether there is other way that we can directly bind the attribute from one layer to the combox &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 06:49:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-bind-an-attribute-field-to-a-combobox/m-p/720402#M18495</guid>
      <dc:creator>DanDong</dc:creator>
      <dc:date>2021-12-12T06:49:24Z</dc:date>
    </item>
  </channel>
</rss>

