Jump to content
Software FX Community
Sign in to follow this  
Diego

chartfx getHtmltag returning a jpg instead of object

Recommended Posts

Hello, so we've migrated from an old server to a windows 2012.... 

There is an old asp file that generates a graph... it has

<%=Chart1.GetHtmlTag(Session("GraphWidth"), Session("GraphHeight"), , "Chart1") %>

In the new server, that generates the following code which shows a static graf, with a button that doesn't do anything.

<img src="/cfxtemp/CFT0803_1019443B9.jpg" width="600" height="420">

While in the old server, it the same code generates 

<OBJECT CLASSID="CLSID:21F49842-BFA9-11d2-A89C-00104B62BDDA"
TYPE="application/x-oleobject"
WIDTH="600" HEIGHT="420" ID="Chart1"
CODEBASE=/installer/cfxdownload/CfxIEAx.cab#Version=5,5,10,3>
<PARAM NAME="LICENSE" VALUE="/installer/cfxlicense/CfxIE.lic">
<PARAM NAME="DATAPATH" VALUE="/cfxtemp/CFT0804_0922572B.chw">
</OBJECT>

No error...just different output... any ideas whats wrong or missing?

Share this post


Link to post
Share on other sites

If you know for sure your clients all use Internet Explorer I would recommend setting the third parameter in the GetHtmlTag call to "ActiveX"

The detection process use some extra files that could be different in both servers, note that we use the UserAgent sent by the browser so it is also possible that newer browsers are not being detected (in both servers) as capable of rendering ActiveX controls.

Regards,

JuanC

  • Like 1

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...