This is a migrated thread and some comments may be shown as answers.
Export To Docx
1 Answer 7 Views
This is a migrated thread and some comments may be shown as answers.
Jon
Top achievements
Rank 1
Jon asked on 09 Nov 2015, 10:51 AM

Hi,

Been at this for ages and read as much as I can. Also tried the code library sample.

Text only, no problem, it works - but if there is an image in the editor  I get  'Value cannot be null. Parameter name: data'

I've tried the absolute image path, + adding the alt tag but still no joy I'm afraid..

Please can you help.

Cheers,

Jon

 

 

1 Answer, 1 is accepted

Sort by
0
Ianko
Telerik team
answered on 10 Nov 2015, 07:52 AM
Hello Jack,

I am not sure what is the HTML code that leads to this issue with exporting to DOCX. I guess you are using images with source to a path. Currently, RadEditor only supports base64 images as in this online demo—http://demos.telerik.com/aspnet-ajax/editor/examples/import-export/docx-import-export/defaultcs.aspx.

Also, there is a feature request about that, where your vote will be appreciated—http://feedback.telerik.com/Project/108/Feedback/Details/168922-improve-the-exporting-of-docx-and-rtf-to-support-html-images-with-url.  You can also find here a custom solution how to handle this situation. 

Regards,
Ianko
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Asked by
Jon
Top achievements
Rank 1
Answers by
Ianko
Telerik team
Share this question
or