07-20-2006 09:17 AM
07-24-2006 03:05 AM
Hi
I join the response of the US R&D about the way you have to follow to use activeX cx3dgraph in asp.NET, it can help other customers too.
-----------------------------------
We don't have an ASP.NET version of the 3dGraph , the current version is an ActiveX control. There are ways to use an ActiveX control in ASP.NET, one of them is by adding the following html code to the ASP.NET page
<OBJECT ID="Object1" CLASSID="CLSID:2AFA9F10-0B6A-11D2-A250-00A024D8324D" CODEBASE="cw3dgrph.ocx"></OBJECT>
"object1" is how you would reference the graph. I obtained the classid by viewing the type library of the cw3dgraph.
You can see this link for some info on this
http://p2p.wrox.com/topic.asp?TOPIC_ID=7260
You can then use vbscipt or javascript to manipulate the graph, since now this is a client side control. This is something the customer will need to investigate. If he is deploying the graph application, he will need to distribute the license of the graph via an .lpk file. This is a license pakaage file and there are tools available that help you create this.
With the lpk file, the tag would look like the following.
<OBJECT ID="Object1" CLASSID="CLSID:2AFA9F10-0B6A-11D2-A250-00A024D8324D" CODEBASE="cw3dgrph.ocx">
<PARAM NAME="LPKPath" VALUE="graph.lpk">
</OBJECT>
The customer should also research using ActiveX controls from ASP.NET, since he might have to consider browser security settings and .NET interop to COM controls. There are several resources available online that provide information about this.
-----------------------------------------------------------------------
Can you send me the htmùl page you have created?
kamal
NIF