<?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 Pop Up Window Results to Data Grid in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/pop-up-window-results-to-data-grid/m-p/242281#M22451</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi All,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have been searching the samples and have not really found what I am looking for.&amp;nbsp; I have a popup info window and I would like to be able to have the user click a link in the window and have the results returned to a data grid.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your help&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 May 2012 19:52:18 GMT</pubDate>
    <dc:creator>JoanBiediger</dc:creator>
    <dc:date>2012-05-07T19:52:18Z</dc:date>
    <item>
      <title>Pop Up Window Results to Data Grid</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/pop-up-window-results-to-data-grid/m-p/242281#M22451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi All,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have been searching the samples and have not really found what I am looking for.&amp;nbsp; I have a popup info window and I would like to be able to have the user click a link in the window and have the results returned to a data grid.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your help&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 May 2012 19:52:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/pop-up-window-results-to-data-grid/m-p/242281#M22451</guid>
      <dc:creator>JoanBiediger</dc:creator>
      <dc:date>2012-05-07T19:52:18Z</dc:date>
    </item>
    <item>
      <title>Re: Pop Up Window Results to Data Grid</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/pop-up-window-results-to-data-grid/m-p/242282#M22452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This should work for you.&amp;nbsp; Its less about the map api and more about getting it to work in the javascript. I use jquery.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is the code to make things work:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;// &amp;lt;Init&amp;gt; map.graphics.enableMouseEvents(); dojo.connect(map.graphics, "onClick", function(evt) { &amp;nbsp;&amp;nbsp;&amp;nbsp; map.infoWindow.setContent("&amp;lt;a href='#' onclick='getDataResults(evt.graphic.attributes.Id)'&amp;gt;Get Data Results&amp;lt;/a&amp;gt;"); // Assumes id is on the graphic somewhere }); // &amp;lt;/Init&amp;gt; function getDataResults(id) { &amp;nbsp;&amp;nbsp; $.get('/GetSomeResults/' + id,&amp;nbsp; function (content) { &amp;nbsp; document.getElementById('resultsGrid').innerHTML = content;&amp;nbsp; } ); }&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and some HTML:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[HTML]&amp;lt;div id="resultsGrid"&amp;gt;&amp;lt;/div&amp;gt;[/HTML]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 May 2012 11:58:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/pop-up-window-results-to-data-grid/m-p/242282#M22452</guid>
      <dc:creator>TomJacoby</dc:creator>
      <dc:date>2012-05-08T11:58:26Z</dc:date>
    </item>
    <item>
      <title>Re: Pop Up Window Results to Data Grid</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/pop-up-window-results-to-data-grid/m-p/242283#M22453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Tom,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your help!!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Joan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 May 2012 16:31:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/pop-up-window-results-to-data-grid/m-p/242283#M22453</guid>
      <dc:creator>JoanBiediger</dc:creator>
      <dc:date>2012-05-08T16:31:30Z</dc:date>
    </item>
  </channel>
</rss>

