<?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 Creating event listeners to dojo objects that are dynamically created in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/creating-event-listeners-to-dojo-objects-that-are/m-p/307198#M28199</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Greetings,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am working on an application that is combining .NET Ajax and the arcgis javascript API. I was am creating dojo objects in vb.net from&amp;nbsp; the server and I need to create event listeners to those new objects and use them for an existing map. One of the main issues is that I am trying to avoid a complete page refresh to display the point on the map. I have an update panel which that only loads the page partially. I was able to get the map to respond to a dojo checkbox that I added within the HTML. Now I am trying to add the same functionality to one that is created from code behind. Please let me know of any approaches that I may be able to use.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Sep 2013 20:10:58 GMT</pubDate>
    <dc:creator>AndyMonplaisir</dc:creator>
    <dc:date>2013-09-04T20:10:58Z</dc:date>
    <item>
      <title>Creating event listeners to dojo objects that are dynamically created</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/creating-event-listeners-to-dojo-objects-that-are/m-p/307198#M28199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Greetings,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am working on an application that is combining .NET Ajax and the arcgis javascript API. I was am creating dojo objects in vb.net from&amp;nbsp; the server and I need to create event listeners to those new objects and use them for an existing map. One of the main issues is that I am trying to avoid a complete page refresh to display the point on the map. I have an update panel which that only loads the page partially. I was able to get the map to respond to a dojo checkbox that I added within the HTML. Now I am trying to add the same functionality to one that is created from code behind. Please let me know of any approaches that I may be able to use.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Sep 2013 20:10:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/creating-event-listeners-to-dojo-objects-that-are/m-p/307198#M28199</guid>
      <dc:creator>AndyMonplaisir</dc:creator>
      <dc:date>2013-09-04T20:10:58Z</dc:date>
    </item>
    <item>
      <title>Re: Creating event listeners to dojo objects that are dynamically created</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/creating-event-listeners-to-dojo-objects-that-are/m-p/307199#M28200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Andy!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;From the information you've posted, this should be doable.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Have you checked out the API for tutorials or samples?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you have any code you can share?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Sep 2013 21:04:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/creating-event-listeners-to-dojo-objects-that-are/m-p/307199#M28200</guid>
      <dc:creator>JonathanUihlein</dc:creator>
      <dc:date>2013-09-04T21:04:19Z</dc:date>
    </item>
    <item>
      <title>Re: Creating event listeners to dojo objects that are dynamically created</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/creating-event-listeners-to-dojo-objects-that-are/m-p/307200#M28201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Greetings,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I was able connect the a dojo event listener to a .NET checkbox by using dojo.byId and then connecting it to the html object event. I ended up not using the dojo event listener to get the point to display on the map. Instead I did all of calculations server side and out an array of points using the javascript serializer and then passed it to the initialization function and plotted it using a function within the initialization function. After that I would use the dojo parser which automatically reload the map and this would bring the new point array to the map. Thanks for the response and sorry for the late feedback.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Andy&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Oct 2013 18:20:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/creating-event-listeners-to-dojo-objects-that-are/m-p/307200#M28201</guid>
      <dc:creator>AndyMonplaisir</dc:creator>
      <dc:date>2013-10-11T18:20:38Z</dc:date>
    </item>
  </channel>
</rss>

