Completed
Last Updated: 14 Feb 2017 07:59 by ADMIN
ADMIN
Dess | Tech Support Engineer, Sr.
Created on: 26 Oct 2015 15:47
Category: RichTextEditor
Type: Bug Report
2
FIX. RadRichTextEditor - KeyNotFoundException when exporting to RTF pasted text from Outlook/Word which contains a hyperlink
Trying to export a document which contains hyperlink pasted from Outlook throws KeyNotFoundException. The color of the span is not registered.

Workaround:     
            Telerik.WinForms.Documents.Model.Styles.StyleDefinition style = new Telerik.WinForms.Documents.Model.Styles.StyleDefinition("test", Telerik.WinForms.Documents.Model.Styles.StyleType.Character);
            style.SpanProperties.ForeColor = Color.FromArgb(5,99,193);
            this.radRichTextEditor1.Document.StyleRepository.Add(style);
8 comments
ADMIN
Stefan
Posted on: 14 Feb 2017 07:59
Would you share what content you have in the document and precisely the steps that we need to take in order to replicate the issue? In addition, which version of the suite are you using?
Tamas
Posted on: 09 Feb 2017 09:41
Unfortunately our licence has expired, but we never used it for creating tickets.
ADMIN
Stefan
Posted on: 18 Jan 2017 07:44
May I please ask you to submit a ticket (https://www.telerik.com/account/support-tickets) regarding your latest issue, so it can be investigated properly by our support staff and they will log it once confirmed and will try to provide you with a workaround if possible.
Tamas
Posted on: 17 Jan 2017 16:55
Thanks, that helps. Another problem similar with this one, is when exporting with HtmlFormatProvider to HTML string, then importing back the same string, the hyperlink is displayed differently, with bigger fonts. 
ADMIN
Stefan
Posted on: 17 Jan 2017 16:12
Hello Tamas,

this issue has been resolved back in R3 2016. You can check the issues statuses in the pane on the right, section "status".

I hope this helps.
Tamas
Posted on: 17 Jan 2017 10:48
What if there are hyperlinks with different colors??
ADMIN
Stefan
Posted on: 17 Nov 2015 07:48
Hi Peter,

for the time being, we do not have a time frame for this case. However, we have found a valid workaround for it. I have updated the case description above with the code for it. You just need to add the hyperlink color as a style definition in the document.

I hope you find it useful.
Peter
Posted on: 10 Nov 2015 09:37
Hi, do you have a time estimation on when this will be fixed?