I am displaying a map on a aspx web page using Mapserver and openlayers.
The map was being displayed fine on a normal aspx page.
Then I added a Masterpage to it and with it came 2 ContentPlaceholders.
I put the Div for displaying the map in one of the ContentPlaceholders.
But the problem is that map is no longer displayed.
For displaying the map I need to call a JS function init() in the body onload event.
But there is no body onload event in ContentPlaceholders.
I tried putting like this:
body.onload = init();
But I get error.
How to tackle this problem?
Thanks for your responses.
View Complete Post