Hey,
I have my page_load event in asp.net which get's a company record from
an id passed to the page.
I would like to use the companies address for the location of the map.
Are there any example pages where the address is passed in from
asp.net instead of straight from javascript?
I have tried the following without success:
Me.Page.ClientScript.RegisterStartupScript(Me.Page.GetType(), "Map",
"<script type=""text/javascript"">showAddress('" &
lCompanyItem.PostCode & "');</script>")
If I call the showAddress after the initialise in the body load
javascript event the map is working:
function body_onload()
{
initialize();
showAddress();
}
I have master pages, which is why the above is as it is.
Thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---