This is a migrated thread and some comments may be shown as answers.

Not able exporting the RadEditor content with images into msword file using c#

1 Answer 20 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Narender
Top achievements
Rank 1
Iron
Narender asked on 03 Jun 2019, 07:18 AM

We are not able to exporting the radeditor data along with images and text and tables formats.

I am using below code.

 protected void Button1_Click(object sender, EventArgs e)
        {
            try
            {              
                ResponseDocument.ExportToDocx();
            }
            catch (Exception ex)
            {
                LogHelper.LogEvent(ex, this.Request.Url.LocalPath);
            }            
        }

while exporting the data it's throwing error like 

"The Document Processing Library fails to export the RadFlowDocument in Docx".

Please help.

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 03 Jun 2019, 01:21 PM
Hi Narender,

Are you able to reproduce the problem in the following demo: https://demos.telerik.com/aspnet-ajax/editor/examples/import-export/docx-import-export/defaultcs.aspx? Can you also provide the rich text HTML content you'd like to export so that I can examine and test it on my end?

For your convenience I have attached a simple runnable project which exports properly the content with a table, images and text.

Regards,
Rumen
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
Editor
Asked by
Narender
Top achievements
Rank 1
Iron
Answers by
Rumen
Telerik team
Share this question
or