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

2 posts, 0 answers
  1. Narender
    Narender avatar
    3 posts
    Member since:
    Apr 2019

    Posted 03 Jun Link to this post

    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.

  2. Rumen
    Admin
    Rumen avatar
    13945 posts

    Posted 03 Jun Link to this post

    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.
Back to Top