ASP.NET WebChart Zoom Bugs
Posted: Thu Apr 03, 2008 1:58 pm
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
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