displaying map in a modal/popup window

Discussion created by abudawud on Feb 3, 2011
Latest reply on Feb 7, 2011 by DSwingley-esristaff
I am trying to display a map in a modal panel/child window which I am able to do however when I click on the map it does not give me the correct coordinates back. The coordinates are always a little bit out. I am bringing back the address of where I clicked and can see the road name to be incorrect.

Are the maps not supposed to be displayed in a modal panel or is there something else i need to do to get the map to recognise the onclick event correctly. I noticed that in all the samples the map is displayed on a different page and does not open a popup.

Thanks in advance