Approved
Last Updated: 31 Oct 2018 08:06 by ADMIN
ADMIN
Aylin
Created on: 07 Oct 2016 12:48
Category: RichTextBox
Type: Bug Report
1
RichTextBox: InsertHyperlinkDialog adds automatically http:// in front of any link not containing http/https
"http://" prefix is automatically added by the Insert Hyperlink Dialog when the provided URI is to local path or mapped drive, e.g. "Z:\temp".

Workaround 1: Set HyperlinkPattern to something that matches file paths, e.g.:
(this.radRichTextBox.InsertHyperlinkDialog as RadInsertHyperlinkDialog).HyperlinkPattern = ".*";

Workaround 2: Insert such paths with the "file://" prefix.
0 comments