Depending on where you call the code from, parent.parent may point to something completely different.
You may also be violating the "same origin" javascript policy:
http://en.wikipedia.org/wiki/Same_origin_policy

If not, I recommend installing firebug, and inspecting the variables to see what "parent" refers to.

Regards, Kenneth Skovhede, GEOGRAF A/S



[email protected] skrev:
...

And I have generated the selctionxml in code behind on SelectedIndexChanged event and is coming pefectally in MySelection Function of java script, but the problems comes at parent.parent.SetSelectionXML, I am unable to get the reference of parent.parent.SetSelectionXML, and also tried in some other ways around but not getting success in getting the reference of mapFrame or parent.parent.SetSelectionXML.

_______________________________________________
mapguide-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Reply via email to