Page 1 of 1

ASP.NET AJAX prevent update

Posted: Thu Aug 20, 2009 6:58 am
by 13052858
Hello,
I use the WebChart control in an ASP.NET AJAX UpdatePanel that is periodically updated with a timer (set as a trigger for the AJAX UpdatePanel).
The problem I face:
If I started a zoom action (mouseDown and draw the area to zoom), and the UpdatePanel receives a trigger (from the timer), the started zoom action is lost.
-Is it possible to detect (on client side) when the user starts a zoom action (and use that to disable to update timer) and detect when the zoom action is finished?
- or is it possible to configure the Teechart so that updates are allowed but the zoomaction is not lost?

Thanks in advance!

Marco

Re: ASP.NET AJAX prevent update

Posted: Wed Aug 26, 2009 9:43 am
by Marc
Hello Marco,

We don't see an obvious way of reproducing a half-executed zoom if the updatepanel refreshes itself mid-zoom.

As an aside, use of the UpdatePanel is a good alternative way to control/avoid rezooms (see http://www.teechart.net/support/viewtop ... 275#p42275) without modification to the default CheckZoom method.

Regards,
Marc