Page 1 of 1

ASP.NET WebChart Zoom Bugs

Posted: Thu Apr 03, 2008 1:58 pm
by 13047751
I have found the following issues when using the WebChart control in ASP.NET webform when using the Zoom tool:

1. When using WebChart in a user control, and having two instances of the user control on a web form, zooming only works for the first chart. Note that in this instance that the zecond chart also zooms

2. Having two instances of the WebChart control on a web form, with only the second chart having a ZoomTool configured, causes zooming not to work. Note that when a ZoomTool is configured for the first, zooming does work

For the first scenario I suspect the cause for this is the use of WebChart.ID instead of WebChart.ClientID / WebChart.UniqueID when generating the javascript that is embedded in the page. In the second scenario it seems that not all javascript is emitted.

Please indicate if this is indeed a bug, or if there is a misconfiguration? I have uploaded a sample web application at http://www.steema.net/upload/

Regards

Posted: Wed Apr 09, 2008 7:25 am
by 13047751
Any feedback on this?

Posted: Fri Apr 11, 2008 4:02 pm
by Marc
Hello,

Thanks for the bugreport and thought on it.

Your deduction is correct, that the issue relates to the use of ID instead of ClientID. The problem has been corrected and the fix will be included in the next maintenance release.

Regards,
Marc Meumann