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@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Reply via email to