It's look like this i would like to have a chart when i press on button but I have got only error message : There is no ChartSpace1, any ideas how to solve that think?
I know that i can put: <object id=ChartSpace1 classid=CLSID:0002E55D-0000-0000-C000-000000000046 style="width:100%;height:350"></object>
in body of table and it's works, but i want to have graph only when i press the button.
//EDIT: added code TAGS
< Message edited by Snipah -- 9/22/2006 7:39:04 PM >
Your problem is not the VBScript, it is design related (HTML).
Place the original IFrame in side a DIV, call that IFrame at onLoad, then when switching to the graph, remove the IFrame, and load the OBJECT inside the DIV.
_____________________________
For more information, please see the "Read me First" topic.