VDS Technologies

 

Calling Map from another webform

9/8/2012 1:10:51 AM
Total Posts 50

Calling Map from another webform

Hi,

I need information, how to call map in another webform ? for example :

- I have search webform with the result "Lat,Lon" coordinate (example:default.aspx). Now I need to call the location in separate webform of Map (example:Mapform.aspx).

 

Can we use javascript ? :

<script>

function Callmap() {

var map = AspMap.find('<%=map.ClientID%>');

map.? (); ---------> what should I put here to call X,Y coordinate?

}

</script>

 

 

9/10/2012 3:29:24 AM
MVP
Total Posts 323

Re: Calling Map from another webform

A client-side Map object can be obtained only for map controls from the current web form.