What's probably happening is that your task pane code is interacting with the
map before it has been fully initialized. What you need to do, is to listen
for map initialization in the map frame. This code sample shows how to do
this:
http://trac.osgeo.org/mapguide/wiki/CodeSamples/JavaScript/AJAX
Hi,Plz can you tell me who resolve this problem: " the task pane is loaded
before Map" (in the task pane i have some functions based on the Map) that why
I have error in task Pane. But if I refraich My task Pane after loading Map it
work fine.