Approved
Last Updated: 05 Apr 2018 13:03 by ADMIN
ADMIN
Mihail
Created on: 28 Apr 2017 13:39
Category: RichTextBox
Type: Bug Report
4
RichTextBox: Hyperlinks are not exported properly if http:// was not added in the address when they were created
The hyperlinks are not exported properly to DOCX, RTF and HTML format if the HTTP:// prefix is not added in the address when they were created.

Steps to reproduce:
1. Open RadRichTextBox and click on Insert tab -> Hyperlink
2. In address field type: www.telerik.com
3. Export the file to DOCX, RTF or HTML format
4. Open the exported file and click on the hyperlink
Observed result: The hyperlink is pointing to a local resource instead of opening the URL.

As a workaround, the regex used to match a partial hyperlink could be further extended. If this regex succeeds in matching a partial hyperlink the HTTP:// prefix will be automatically added to the partial hyperlink. Here is example of how the regex should be accessed:
(this.radRichTextBox.InsertHyperlinkDialog as RadInsertHyperlinkDialog).HyperlinkPattern
(Total attached files size should be smaller than 20mb. Allowed extensions: .zip, .rar, .jpg, .png, .gif)
2 comments
ADMIN
Tanya
Posted on: 05 Apr 2018 13:03
Hi Zhun Li,

Continue following this item so you can be notified about changes on its status. In the meantime, you can use the workaround provided in the description.

Regards,
Tanya
Zhun
Posted on: 28 Apr 2017 14:17
Telerik should fix this issue