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 file paths
"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.
(Total attached files size should be smaller than 20mb. Allowed extensions: .zip, .rar, .jpg, .png, .gif)
0 comments