<?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: query on startup in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/query-on-startup/m-p/172539#M4282</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You will need to write the query after InitializeComponent, which will work similar to the function initFunctionality() mentioned in JS example.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;public MainPage()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; InitializeComponent();&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; //your query&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Jan 2014 09:01:50 GMT</pubDate>
    <dc:creator>ShilpiJain1</dc:creator>
    <dc:date>2014-01-21T09:01:50Z</dc:date>
    <item>
      <title>query on startup</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/query-on-startup/m-p/172537#M4280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm looking for a silverlight example similar to this JS example&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to query a featrue before my map starts and select it and zoom to it.&amp;nbsp; The parameter would be in the url like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://myserver/myapp/myqueryfield=myvale"&gt;http://myserver/myapp/myqueryfield=myvale&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The map would load and zoom and select the feature.&amp;nbsp; I would pass in different values by changing the myvalue in the URL.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone know of a Silverlight example like this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://developers.arcgis.com/en/javascript/jssamples/query_click.html"&gt;https://developers.arcgis.com/en/javascript/jssamples/query_click.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;THnaks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nathalie&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jan 2014 01:55:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/query-on-startup/m-p/172537#M4280</guid>
      <dc:creator>NathalieNeagle</dc:creator>
      <dc:date>2014-01-17T01:55:59Z</dc:date>
    </item>
    <item>
      <title>Re: query on startup</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/query-on-startup/m-p/172538#M4281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Silverlight has an interface to communicate with its container Html page.&amp;nbsp; To get an argument from the query string you can use:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;Dictionary&amp;lt;string, string&amp;gt; urlparams = (Dictionary&amp;lt;string, string&amp;gt;)HtmlPage.Document.QueryString;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;(HtmlPage is from System.Windows.Browser)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Once there just grab the parameter you want and send it off to your map query and zoom function.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Good Luck&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jan 2014 17:09:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/query-on-startup/m-p/172538#M4281</guid>
      <dc:creator>BrentHoskisson</dc:creator>
      <dc:date>2014-01-17T17:09:59Z</dc:date>
    </item>
    <item>
      <title>Re: query on startup</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/query-on-startup/m-p/172539#M4282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You will need to write the query after InitializeComponent, which will work similar to the function initFunctionality() mentioned in JS example.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;public MainPage()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; InitializeComponent();&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; //your query&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jan 2014 09:01:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/query-on-startup/m-p/172539#M4282</guid>
      <dc:creator>ShilpiJain1</dc:creator>
      <dc:date>2014-01-21T09:01:50Z</dc:date>
    </item>
  </channel>
</rss>

