[mapguide-users] Ajax Programming to refresh map only

CroNicoRn ah_jid at yahoo.com
Mon Jan 18 23:22:51 EST 2010


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.


More information about the mapguide-users mailing list