click when drawing works in VS 2010 but not when site is published. How can this be?

475
2
02-24-2011 08:13 AM
CarolynWhite
New Contributor III
The user is to draw a polygon in the map frame. The first point is drawn fine. For the second point it may take 8 to 10 clicks before the point appears on the screen. This doesn't happen in debug mode in VS 2010.

Why might this happen?
0 Kudos
2 Replies
CarolynWhite
New Contributor III
The website also has a measure tool. All points with the measure tool are stick with a single click.
0 Kudos
JenniferNery
Esri Regular Contributor
Have you looked at the Draw sample here: http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#DrawGraphics and MeasureAction sample here: http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#UtilityActions?

Are you trying to do both or are you saying that the Draw in MeasureAction takes multiple clicks before second point is drawn? This behavior does not seem reproducible with the two samples above. So you might need to check your application logic, maybe something in there disables the draw. Also, the published website should not be any different as what you see in Debug mode if they both point to the same Silverlight application.
0 Kudos