# OnExtentChanged in client side

**URL:** <https://community.thinkgeo.com/t/onextentchanged-in-client-side/9308>\
**Category:** WebForms\
**Created:** [October 16, 2018, 7:13am UTC](https://community.thinkgeo.com/t/onextentchanged-in-client-side/9308 "2018-10-16T07:13:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![riyas](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/r/c6cbf5/32.png) [@riyas](https://community.thinkgeo.com/u/riyas)\
**Post date:** [October 16, 2018, 7:13am UTC](https://community.thinkgeo.com/t/onextentchanged-in-client-side/9308/1 "2018-10-16T07:13:06Z")

</div>

Hi,  
Is it possible to handle OnExtentChanged event in client side. If it is possible, please give me code for handle it.

Code:  
OnExtentChanged=“wfMap\_ExtentChanged”

Thanks,  
Riyaz

---

<div class="post-metadata">

**Author:** ![Ethan](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/ethan/32/19964_2.png) [@Ethan](https://community.thinkgeo.com/u/Ethan)\
**Post date:** [October 16, 2018, 7:59am UTC](https://community.thinkgeo.com/t/onextentchanged-in-client-side/9308/2 "2018-10-16T07:59:32Z")

</div>

Hi Riyaz,

I found a topic here: [Client API Documentation for Map Suite Web Edition - #2 by Itay](http://community.thinkgeo.com/t/client-api-documentation-for-map-suite-web-edition/4771/4)

and here:

> [@Markers Is Visible Attribute](http://community.thinkgeo.com/t/markers-is-visible-attribute/8085/5):
>
> Peter, Just to let you know that fixed my issue thank-you! Don, When I debug the map on an Ajax call. The map that exists on server side, has not been updated at all. It maintains the original extent and center. I noticed this when I was making an Ajax call onExtentChanged, and noticed that the map extent was never changing. Thanks! Josh

It looks you can try this API: Map1. OnClientExtentChanged = “clientFunction”;

Wish that’s helpful.

Regards,

Ethan
