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

Import HTML with images from disk

1 Answer 95 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Jakub
Top achievements
Rank 1
Iron
Jakub asked on 25 Oct 2018, 12:10 PM

Hello,

is HtmlFormatProvider supports loading images from disk when <a href /> use such an image? Or there is an event when provider is loading image and I could handle it myself to read image from path and put it as base64 in correct place of raddocument?

Best regards,

Jakub

1 Answer, 1 is accepted

Sort by
0
Tanya
Telerik team
answered on 30 Oct 2018, 08:55 AM
Hello Jakub,

You will need to handle the LoadImageFromUrl event of HtmlFormatProvider's ImportSettings to load the images from the desired location.

Regards,
Tanya
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
RichTextBox
Asked by
Jakub
Top achievements
Rank 1
Iron
Answers by
Tanya
Telerik team
Share this question
or