RadClientExportManager svg blank issue

1 Answer 62 Views
ClientExportManager
Jesse Mabon
Top achievements
Rank 2
Jesse Mabon asked on 28 Sep 2022, 02:37 PM | edited on 29 Sep 2022, 04:45 PM

Hello,

Any chart that renders as SVG or any .svg image end up blank when using the RadClientExportManager.

The blank chart in the attached image is rendered as svg. The first donut chart renders as SVG but I convert it to png so it shows. If  I convert them to an svg file first they are still blank. The other charts are using telerik charts. 

This happens for exportPDF, exportIMAGE and exportSVG in the RadClientExportManager. Anything that renders as an SVG ends up blank.

I tried your demo online and it renders the map blank as well. So I'm assuming the map renders as an SVG. Is there a way to fix this?

https://demos.telerik.com/aspnet-ajax/client-export-manager/applicationscenarios/wysiwyg-export/defaultcs.aspx

Thanks,

Jesse

1 Answer, 1 is accepted

Sort by
0
Peter Milchev
Telerik team
answered on 05 Oct 2022, 01:23 PM

Hi Jesse,

The ClientExportManager does have a limitation in exporting SVG elements. 

On the other hand, the Telerik controls have an integration with the ClientExportManager. That means you can use Telerik's RadHtmlChart and export it successfully.

As for the Map demo you have shared, the issue was due to the links for the background images pointing to an http:// URL when the page was loaded under https. Thank you for bringing this to our attention, we have fixed this and updated the links so the demo works correctly now.

Regards,
Peter Milchev
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Jesse Mabon
Top achievements
Rank 2
commented on 05 Oct 2022, 03:22 PM

So your export control will export to an SVG file, but not export any SVG images or SVG charts except Telerik charts?

Is there plans to allow exporting of SVG files or other charts that render as SVG in the future?

It sounds like my options are to use Telerik charts or find a different client exporter...

Thanks,

Jesse

Doncho
Telerik team
commented on 12 Oct 2022, 01:33 PM

Hi Jesse,

RadClientExportManager is built on top of the Kendo UI Drawing API and unfortunately, the content of <iframe> and <svg> elements currently cannot be processed and exported by the Drawing API.

At the moment, I can only suggest you log a feature request for the desired functionality in the Kendo jQuery feedback portal so it can gather votes and measurable demand. If the item gets high interest, our developers will reevaluate the feasibility of such an improvement.

We apologize for the inconvenience caused.

Tags
ClientExportManager
Asked by
Jesse Mabon
Top achievements
Rank 2
Answers by
Peter Milchev
Telerik team
Share this question
or