Sign in to follow this  
Chris P.

Export Chart Issue With No Specific Error Given

Recommended Posts

Hello everyone, i couldn't decide whether to write this topic here or in asp.net section so i apologise in advence if i took the wrong way.

So, we're using DNN as cms on our site (And as you'll see soon it's somehow connected to the problem). We have multiple charts/widgets/maps on each page and we're exporting them as follows:

 

  1. Export action is set to save
  2. Export at client is set to false
  3. Callback function is set to custom callback (more on this later on)
  4. Export handler is set to FCExporter.aspx (Since we're using asp.net with c#)
  5. We're triggering export by iterating trough an array of chart ids in js and simply invoking .exportChart() on each object (prior to this, we're of course checking if object != null and if object.hasRendered())

And everything works fine if we log to our site as host, but as soon as we log onto client account strange things starts to happen. In callback function objRtn is pretty much empty, literally there's no info about chart (which triggered this event) in there, everything is set either to null or 0.

After debugging FCExporter component we've came to conslusion that Request["stream"] is null so the only trace that comes to my mind is that something bad is happening in .js but it gives no error and no further insight on what could it be at all.

 

Anyone have any suggestions?

 

Best regards,

Chris P.

Edited by Chris P.

Share this post


Link to post
Share on other sites

Chris,

 

How did you get this fixed? It seems like I am getting Stream=null when I try to export JS charts. Flash Charts seems to be working fine.

 

Thanks in advance

 

Regards

Abhishek

Share this post


Link to post
Share on other sites
Guest Sumedh

Hi Abhishek,

 

Are you implementing Server-side export for JavaScript charts using .NET Exporter?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this