Page 1 of 1
Problems with Zoomtool and <body onload="">
Posted: Wed Oct 28, 2009 10:00 am
by 10549439
Hello Steema Team,
I am using TChart for .Net Version 3.5.3470.15474
Now I have problems with the ZoomTool. As soon I´m using the Zoomtool in a WebChart
the <body onload=alert('test')> doesn´t work anymore. If I delete the Zoomtool again everthing is fine.
Did you have Problems like this before and can you please tell me how to solve this problem?
regards Centrii
Re: Problems with Zoomtool and <body onload="">
Posted: Wed Oct 28, 2009 3:13 pm
by yeray
Hi Centrii,
Have you seen the topics suggested here in the
WebChart ZoomTool related threads?
Re: Problems with Zoomtool and <body onload="">
Posted: Thu Oct 29, 2009 7:44 am
by 10549439
Hi Yeray,
Yes I have seen the topics, but without any solution for me.
My problem is that the ZoomTool overrides my javascript window.body.onload ="DoSomething()"
with the compiled TChart javascript window.onload = function()
This causes that my DoSomething() Function doesn´t work anymore.
Re: Problems with Zoomtool and <body onload="">
Posted: Mon Nov 02, 2009 7:16 am
by 10549439
Hello Steema Team,
Can you give me a solution or a workaround for my Problem?
regards Centrii
Re: Problems with Zoomtool and <body onload="">
Posted: Thu Nov 05, 2009 8:05 am
by 10549439
Am I the only Person with this Problem?
I would be thankful for every kind of help...
Centrii
Re: Problems with Zoomtool and <body onload="">
Posted: Thu Nov 05, 2009 10:10 am
by narcis
Hello Centrii,
Sorry for the delayed reply. We could reproduce the issue here and we are investigating if there's any solution or workaround to it. We will get back to you when we have further news.
Re: Problems with Zoomtool and <body onload="">
Posted: Thu Nov 05, 2009 10:26 am
by 10549439
Hi Narcís,
thanks for this reply.
Centrii
Re: Problems with Zoomtool and <body onload="">
Posted: Fri Nov 13, 2009 12:44 pm
by 10549439
Hi Narcis,
Did you find a solution or a workaround?
If there is a Bugfix-Number for this problem, is it possible that I can have this Number?
regards Centrii
Re: Problems with Zoomtool and <body onload="">
Posted: Mon Nov 16, 2009 4:16 pm
by Marc
Hello Centrii,
This problem is due to WebChart's need of the onload event to initialise the layers for the zoom Chart. Looking at the problem you have reported we were unable to see a workaround so have made a modification to the TeeChart code permitting the addition of a custom 'onload' function that will be called if present in your on-page code.
The fix will be included with the next TeeChart for .NET maintenance release for v3 and v4. We will add a section to Tutorial 9, 'ASP.NET Applications' to describe the functionality.
Regards,
Marc Meumann
Re: Problems with Zoomtool and <body onload="">
Posted: Wed Feb 10, 2010 4:56 pm
by 10549439
Hi Steema Team,
I checked the new Versions and there is a Bugfix available for this problem, but only in V4.
Can you please help me out with this Problem togehter with the latest V3.5 Version?
If not, is there a new Version of v3.5 planed, with a solution like in the new v4?
thanks
Centrii
Re: Problems with Zoomtool and <body onload="">
Posted: Wed Feb 10, 2010 7:10 pm
by narcis
Hi Centrii,
As Marc told you, this was fixed in v3 too as you can see in the release notes corresponding to the latest update:
http://www.steema.com/files/public/teec ... elease.txt
Bug fix number 7, without internal tracker id, is the bug discussed here. Can you please check if latest release available solves the problem at your end?
Thanks in advance.
Re: Problems with Zoomtool and <body onload="">
Posted: Thu Feb 11, 2010 9:46 am
by 10549439
Hi Narcís,
Thanks for the quick reply.
I installed the new update and tried it with my Source Code, but it is not working.
Marc told me that you will add a Section in Tutorial 9, 'ASP.NET Applications', but the
TeeChart for .NET v3 Update Build doesn´t include the new Tutorial.
Where can I find this one?
Thanks in Advance
Centrii
Re: Problems with Zoomtool and <body onload="">
Posted: Fri Feb 12, 2010 1:11 pm
by Marc
Hello Centrii,
The tutorial section is a brief explanation of use, quickest for me to add it here:
Window onload event
When a Zoom or Scroll Tool is added to your WebChart it requires to use the Window.onload event to initialse characteristics of the Tool. If you require to further use the onload event for your own needs then please add a new function to the page called windowOnload and place your code there.
eg. optionally in <HEAD> section of page
Code: Select all
<script language=javascript>
function windowOnload() {
window.status = new Date().getTime();
}
</script>
Please let us know if that doesn't work correctly for you.
Regards,
Marc
Re: Problems with Zoomtool and <body onload="">
Posted: Wed Feb 17, 2010 4:02 pm
by 10549439
Hi Marc,
Now it is working fine, thanks a lot.
greets Centrii