<?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 Failed error in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/failed-error/m-p/734950#M68105</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am trying to do a very simple stuff.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using drawing toolbar to draw graphics on the map.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As shows in the javascript api example,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I initiate a draw toolbar&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; var drawToolbar = new esri.toolbars.Draw(map);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then onDrawEnd of the drawToolbar, I add graphics to the map.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;First time it adds successfully.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Second time it adds successfully if I don't click on top of the previously added graphic.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;if I happen to start from a point, that is on top of the previously added graphic, I get a failed error in visual studio.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But this behaviour is only in IE, not in chrome. In chrome, it works fine. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If I don't click on top of the graphic, it works fine. Already tried with map.graphics onClick event handler, but that also doesn't help it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But If I run the esri javascript api draw toolbar sample in ie, it works fine. What could I be possibly missing?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Banchana&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Oct 2012 19:23:11 GMT</pubDate>
    <dc:creator>BanchanaPandey</dc:creator>
    <dc:date>2012-10-02T19:23:11Z</dc:date>
    <item>
      <title>Failed error</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/failed-error/m-p/734950#M68105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am trying to do a very simple stuff.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using drawing toolbar to draw graphics on the map.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As shows in the javascript api example,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I initiate a draw toolbar&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; var drawToolbar = new esri.toolbars.Draw(map);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then onDrawEnd of the drawToolbar, I add graphics to the map.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;First time it adds successfully.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Second time it adds successfully if I don't click on top of the previously added graphic.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;if I happen to start from a point, that is on top of the previously added graphic, I get a failed error in visual studio.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But this behaviour is only in IE, not in chrome. In chrome, it works fine. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If I don't click on top of the graphic, it works fine. Already tried with map.graphics onClick event handler, but that also doesn't help it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But If I run the esri javascript api draw toolbar sample in ie, it works fine. What could I be possibly missing?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Banchana&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Oct 2012 19:23:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/failed-error/m-p/734950#M68105</guid>
      <dc:creator>BanchanaPandey</dc:creator>
      <dc:date>2012-10-02T19:23:11Z</dc:date>
    </item>
    <item>
      <title>Re: Failed error</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/failed-error/m-p/734951#M68106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;can you provide a sample application demonstrating the problem?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Oct 2012 22:07:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/failed-error/m-p/734951#M68106</guid>
      <dc:creator>JohnGravois</dc:creator>
      <dc:date>2012-10-04T22:07:15Z</dc:date>
    </item>
    <item>
      <title>Re: Failed error</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/failed-error/m-p/734952#M68107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;are you using an older version of the api?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I remember this occuring in older versions (~2.3 or so) but the error has been gone for a long time.&amp;nbsp; IT was IE only, could not start to draw a graphic over an existing graphic.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Oct 2012 15:45:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/failed-error/m-p/734952#M68107</guid>
      <dc:creator>JeffPace</dc:creator>
      <dc:date>2012-10-05T15:45:49Z</dc:date>
    </item>
  </channel>
</rss>

