Thanks Khalil,
Well i have store the extent and scale in my user control Unload events so everytime page is changed unload event will fire and will save the state…I will try to put it in client side later cause i am on strict deadline ;)
Khalil, i am facing one more issue in this extent and scale.Let me explain that
I have one toggle button which is toggling the map between thinkgeo and google map (thinkgeo google layer)
But each time the i toggle between these maps my scale seems to be different and cause of that the zoom scale is not maintained.
Ex.
Suppose, right now the thinkgeo map is shown and we are at zoom level 20 (maximum zoom level), i debug and found that scale level is : 1126.4644432067871
Now i switch the map to google by adding google layer of thinkgeo on map. The map remains at zoom level 20 cause i am assigning map.currentscale=1126.4644432067871 so map stays at current scale, which is fine.
Now when i go to the google to thinkgeo at that time i am getting the current scale = 1128.5000425316878 which is different and cause of this the map is showing at zoomlevel 19 in thinkgeo and hence scale is not maintained…
Can u throw any light here for what should i do to avoid this?
Thank u very much