<?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: Is it possible to pass arguments in the URL? in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/is-it-possible-to-pass-arguments-in-the-url/m-p/283976#M7408</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Is it possible to pass arguments to the map in the URL, using the Silverlight API?&lt;BR /&gt;&lt;BR /&gt;eg, pass the map extent, layer visibility, tool open state, etc as URL parameters.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Steve&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Steve,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Did you ever get this to work? I would like to pass an address through a URL and have the map zoom to the address when the app launches.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also I found this very helpful video:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.silverlight.net/learn/videos/silverlight-videos/using-startup-parameters-with-silverlight/"&gt;http://www.silverlight.net/learn/videos/silverlight-videos/using-startup-parameters-with-silverlight/&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Sep 2010 14:52:39 GMT</pubDate>
    <dc:creator>BrandonIves</dc:creator>
    <dc:date>2010-09-07T14:52:39Z</dc:date>
    <item>
      <title>Is it possible to pass arguments in the URL?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/is-it-possible-to-pass-arguments-in-the-url/m-p/283974#M7406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is it possible to pass arguments to the map in the URL, using the Silverlight API?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;eg, pass the map extent, layer visibility, tool open state, etc as URL parameters.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Steve&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Aug 2010 11:02:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/is-it-possible-to-pass-arguments-in-the-url/m-p/283974#M7406</guid>
      <dc:creator>StephenLead</dc:creator>
      <dc:date>2010-08-16T11:02:36Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to pass arguments in the URL?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/is-it-possible-to-pass-arguments-in-the-url/m-p/283975#M7407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Try using System.Windows.Browser.HtmlDocument, it has a QueryString property that will return a dictionary of the parameters and values from the URL.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Aug 2010 13:10:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/is-it-possible-to-pass-arguments-in-the-url/m-p/283975#M7407</guid>
      <dc:creator>TerryGiles</dc:creator>
      <dc:date>2010-08-16T13:10:08Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to pass arguments in the URL?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/is-it-possible-to-pass-arguments-in-the-url/m-p/283976#M7408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Is it possible to pass arguments to the map in the URL, using the Silverlight API?&lt;BR /&gt;&lt;BR /&gt;eg, pass the map extent, layer visibility, tool open state, etc as URL parameters.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Steve&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Steve,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Did you ever get this to work? I would like to pass an address through a URL and have the map zoom to the address when the app launches.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also I found this very helpful video:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.silverlight.net/learn/videos/silverlight-videos/using-startup-parameters-with-silverlight/"&gt;http://www.silverlight.net/learn/videos/silverlight-videos/using-startup-parameters-with-silverlight/&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Sep 2010 14:52:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/is-it-possible-to-pass-arguments-in-the-url/m-p/283976#M7408</guid>
      <dc:creator>BrandonIves</dc:creator>
      <dc:date>2010-09-07T14:52:39Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to pass arguments in the URL?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/is-it-possible-to-pass-arguments-in-the-url/m-p/283977#M7409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Not sure if this is what you are looking for, but I am doing this to grab settings from the URL to set the initial map size: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim uriTest As Uri = HtmlPage.Document.DocumentUri&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim preClean As String = uriTest.Query.ToString&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;preClean would contain the information at the end of the url.&amp;nbsp; so if my url were:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://localhost/ourmap.aspx?mapsize=1"&gt;http://localhost/ourmap.aspx?mapsize=1&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;preClean would equal "?mapsize=1"&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then from there I split it apart to get the values.. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Not sure if that helps but it seems to work for me.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Kris Stitt&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Sep 2010 16:50:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/is-it-possible-to-pass-arguments-in-the-url/m-p/283977#M7409</guid>
      <dc:creator>KrisStitt</dc:creator>
      <dc:date>2010-09-07T16:50:49Z</dc:date>
    </item>
  </channel>
</rss>

