<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
It sounds as if you want to do a "server push" rather than the more
common "client pull".<br>
I'm not sure that it is easily accomplished, but since the AJAX viewer
contains a lot of JS code, I don't see any problems in an extra refresh
call.<br>
<br>
<pre class="moz-signature" cols="72">Regards, Kenneth, GEOGRAF A/S
</pre>
<br>
<br>
Zac Spitzer skrev:
<blockquote
cite="mid:7a85053e0711112055r259bef0ic1e346b5379d0f10@mail.gmail.com"
type="cite">I'm pretty sure your going to need to use javascript. The
mapguide javascript API<br>
is pretty solid and mature, if you check the archive of this newsgroup
there are<br>
not many posts i can remember where people are having issues with
consistency
<br>
between browser implementations.<br>
<br>
Use the recommended approach, it's documented and supported. Any other
approach, <br>
will most likely cause headaches down the track as mapguide evolves.<br>
<br>
What are the security reasons?
<br>
<br>
z<br>
<br>
<br>
<div class="gmail_quote">On Nov 10, 2007 10:18 PM, Maksim Sestic <<a
moz-do-not-send="true" href="mailto:max@geoinova.com">max@geoinova.com</a>>
wrote:<br>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
I'm writing some server app that imposes occasional changes to certain<br>
layers, based on data collected in real time. Therefor, it requires<br>
layer/map refresh initiated by server-side application. Since it's
fully
<br>
written in <a moz-do-not-send="true" href="http://ASP.NET"
target="_blank">ASP.NET</a> (Ajax.NET) utilizing web services+events,
I'm trying to<br>
avoid JavaScript as much as possible due to consistency and security<br>
reasons.<br>
<br>
I guess it's presently not possible to issue a refresh on map/layer
without
<br>
calling JavaScript function from client side. Is there any workaround to<br>
this?<br>
<br>
Regards,<br>
Maksim Sestic<br>
<font color="#888888">--<br>
View this message in context: <a moz-do-not-send="true"
href="http://www.nabble.com/Refreshing-a-map-layer...-from-server-side%2C-avoiding-JavaScript-tf4782233s16610.html#a13681172"
target="_blank">
http://www.nabble.com/Refreshing-a-map-layer...-from-server-side%2C-avoiding-JavaScript-tf4782233s16610.html#a13681172</a><br>
Sent from the MapGuide Users mailing list archive at <a
moz-do-not-send="true" href="http://Nabble.com" target="_blank">
Nabble.com</a>.<br>
<br>
_______________________________________________<br>
mapguide-users mailing list<br>
<a moz-do-not-send="true"
href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a><br>
<a moz-do-not-send="true"
href="http://lists.osgeo.org/mailman/listinfo/mapguide-users"
target="_blank">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br>
</font></blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
Zac Spitzer<br>
<a moz-do-not-send="true" href="http://zacster.blogspot.com/">http://zacster.blogspot.com/</a><br>
+61 405 847 168 (aussie moible)
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
mapguide-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapguide-users">http://lists.osgeo.org/mailman/listinfo/mapguide-users</a>
</pre>
</blockquote>
</body>
</html>