ThinkGeo.com    |     Documentation    |     Premium Support

Possible to reload the current page, after an ajax call?

being lazy, i am wondering if that is possible - i saved a lot of application settings on the server side. So reloading the page from the server, will save me a lot of codes to update the page/map…

Thanks,

Hi Guangming,

You can set a loop in client side to check the server side status, or you can sent a callback function from client side, after server side response you can handle the result.

Regards,

Ethan

could you please give a quick example for either case?

Thanks,

Hi Guangming,

Please refer this topic: Javascript map dynamic layers refresh from server

It contains the sample about how to use CallBack with our Web&MVC edition.

Wish that’s helpful.

Regards,

Ethan