
8 Answers, 1 is accepted
We will consider your suggestion about following links without Ctrl in ReadOnly mode.
Until then, you can achieve the same behavior yourself, by handling the MouseLeftButtonDown as shown in the attached demo.
If you have any other questions, do not hesitate to contact us again.
Iva
the Telerik team

The workaround suggested works, but it is not very convenient, as the mouse cursor does not change and also the message still pops up after a while.
Another feature request regarding hyperlinks would be something like a HoverHyperlink event to display certain information about this link in a status bar for example.
And if the control key message somehow remains it would be great to be able to customize it (e.g. for localization).
Thanks
We have planned to change the behavior of Hyperlinks when RadRichTextBox is in ReadOnly mode and Selection is disabled to what you refer to as "normal". Localization is also on our to-do list and currently scheduled for Q1 2011, which is due around April next year.
As it comes to the tooltips, we will also consider allowing users to customize them, possibly for one of the service packs.
In appreciation of the suggestions, I have added some Telerik points to your account.
If you have any other questions, do not hesitate to contact us again.
Iva
the Telerik team

I'd like to add to this with another Hyperlink default behaviour.
When using HTML, if you put an attribute "alt" on the anchor, it usually renders a hover text automatically for you.
for example,
<
a
href
=
"http://www.google.com"
alt
=
"Search!"
>Google</
a
>
The text "Search!" would show on hover.
This is default browser behaviour - would be really nice to support in the read-only mode of the rich text editor.
UPDATE: I've found an example on this page, scroll down to the SiteFinity CMS logo and hover.
Maybe it makes sense to split the design into an editor and an output viewer? I could envision that the output viewer is different for all the format providers - html, docx...
Just thinking out loud, hope this helps.
Thank you for your suggestions.
Actually a tooltip is showing on hover (regardless of the mode - read-only or not), which says the URL (e.g. "http://www.google.com" \n Ctrl + Click to follow link"). We are planning on allowing the following of links by click only in read-only mode instead of Ctrl + Click. We might as well consider introducing a property for the tooltip's text, too.
Iva
the Telerik team

<telerik:RadRichTextBox Grid.Row="1" HorizontalAlignment="Stretch" IsContextMenuEnabled="False" IsReadOnly="True" IsSelectionEnabled="False" IsSelectionMiniToolBarEnabled="False" IsSpellCheckingEnabled="False" Margin="0" Name="rtbCommunity" VerticalAlignment="Stretch" BorderBrush="{x:Null}" > <telerik:RadRichTextBox.Resources> <my:HtmlDataProvider x:Key="provider" RichTextBox="{Binding ElementName=rtbCommunity}" /> </telerik:RadRichTextBox.Resources> </telerik:RadRichTextBox>
We've decided that it would be better to keep the properties loosely coupled to make sure the control is fully customizable. Thus, the HyperlinkNavigationMode is controlled by a property and it does not matter if the document is read only and if selection is enabled. Here is a sample code snippet:
<
telerik:RadRichTextBox
HyperlinkNavigationMode
=
"Click"
/>
I hope this helps. Regards,
Iva
the Telerik team
