[mapguide-users] Ajax Programming to refresh map only
Ivan Miličević
Ivan.Milicevic at supranet.hr
Tue Jan 19 03:38:08 EST 2010
Any javascript error occured?
-----Original Message-----
From: mapguide-users-bounces at lists.osgeo.org [mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of CroNicoRn
Sent: Tuesday, January 19, 2010 5:23 AM
To: mapguide-users at lists.osgeo.org
Subject: [mapguide-users] Ajax Programming to refresh map only
Anyone can share me how i wanna click single button then refresh the map only.. may be ajax or java..
my refresh coding ( refresh layer properties "left panel" and "right panel"
timer.aspx
-------------
<body onload="Timer()">
<input type="button" value="Stop" onClick="stopCount()">
<script language="javascript">
var t;
function Timer()
{
new Boolean(false);
parent.parent .Refresh();
t=setTimeout("Timer()",5000);
}
function stopCount()
{
clearTimeout(t);
}
</script>
<%
String mgSessionId = GetRequestParameters()["SESSION"];
%>
</body>
</html>
Thanx
-----
http://www.myguidepages.com http://n2.nabble.com/file/u115131/ajid.jpg
--
View this message in context: http://n2.nabble.com/Ajax-Programming-to-refresh-map-only-tp4418024p4418024.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users
More information about the mapguide-users
mailing list