You have to programmatically refresh from the client side (AJAX Viewer) Your .net code runs on the server side so it has to either write the refresh() javascript call as part of the page response (if running in the task pane or InvokeURL command) or write a special value that the client understands as an order to refresh the map (if using XMLHttpRequest)
- Jackie euskalmap wrote: > > Hi, > > I try the layout DotNetSamples in MAPOSE 2.0. > When i test the functionnality 'Rename Roads Layer', why do i refresh > manually the map ? > In your code (TOGGLE_LAYER_LABEL.ASPX.CS) there is the instrucion > 'map.Save(resourceService)' : why the map is not refresh ? > > Thanks > ----- http://themapguyde.blogspot.com http://www.linkedin.com/in/jackieng -- View this message in context: http://www.nabble.com/Refresh-map-in-DotNetSamples-tp20717714p20720866.html Sent from the MapGuide Users mailing list archive at Nabble.com. _______________________________________________ mapguide-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapguide-users
