ASP.NET AJAX prevent update

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
marcoIpcos
Newbie
Newbie
Posts: 11
Joined: Mon Mar 23, 2009 12:00 am

ASP.NET AJAX prevent update

Post by marcoIpcos » Thu Aug 20, 2009 6:58 am

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

Marc
Site Admin
Site Admin
Posts: 1266
Joined: Thu Oct 16, 2003 4:00 am
Location: Girona
Contact:

Re: ASP.NET AJAX prevent update

Post by Marc » Wed Aug 26, 2009 9:43 am

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
Steema Support

Post Reply