I want to load some images customly when I import HTML into RadRichTextBox.
So I subscribed to LoadImageFromUrl like this:
void ImportSettings_LoadImageFromUrl(object sender, LoadImageEventArgs e)
var uri = new Uri("/RichTextBoxTestApp;component/Images/" + e.Url, UriKind.Relative);
string extension = GetExtensionFromURL(e.Url);
StreamResourceInfo sr = Application.GetResourceStream(uri);
but the behavior is that image is shown for split-second and than replaced with blank (probably when RichTextBox loads empty image from e.Url)
Any workarounds ? maybe to wait after the blank image is loaded from e.Url and after that assign my image to e.ImageElement ?
Also, how can i upload a small repro solution here ?