I am currently implementing an AJAX call back which populates my map layers after some user input. I also need to change extent at this time, I execute code that changes the extent serverside, however, the map extent does not change, is there a way to force the map to change the extent on the client without passing variables to the clientside?
case "All":
Map1.StaticOverlay.Layers.Add(OverlayClass.DefineBaseMap());
Map1.CurrentExtent = OverlayClass.GetExtent(sessionidvar);
GeoCollection<Overlay> MapOverlays = OverlayClass.GetOverlays(sessionidvar, "Static");
Map1.CustomOverlays.Clear();
foreach (Overlay mapLOLs in MapOverlays)
{
Map1.CustomOverlays.Add(mapLOLs);
}
CBResult = "Static";
break;