AjaxMapControl zoomout/zoomin

I run demo and it works well but when If I make new page that use ajaxmapcontrol I have problem in zoomout and when I select zoomout it works as zoomin and show this error:Microsoft JScript runtime error: 'ctl00_MainContent_ajaxMapObj' is undefined

Hi sa_84, ctl00_MainContent_ajaxMapObj represents the object id of the javascript map object as it is in the browser - the real id is generated dynamically from the control heirarchy that the control sits in (see INamingContainer). At a guess you
copied the code from the demo but the ids are different because the control sits in a different heirarchy in your page. You will need to investigate the rendered source within the browser to find out what the real id is or consider using inline code blocks
such as <%= ajaxMapObject.ClientID %> in your markup. hth jd