This is a migrated thread and some comments may be shown as answers.

open hyperlink without control key

8 Answers 193 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Michael Montgomery
Top achievements
Rank 1
Michael Montgomery asked on 19 Nov 2010, 08:21 PM
is it possible to open the hyperlink without requiring a control key. This is very nonintuitive and the average user is never going to realize the link works this way or hover long enough to see the message. Thank you

8 Answers, 1 is accepted

Sort by
0
Iva Toteva
Telerik team
answered on 23 Nov 2010, 11:09 AM
Hi Michael Montgomery,

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.

Kind regards,
Iva
the Telerik team
Browse the videos here>> to help you get started with RadControls for Silverlight
0
Ingmar
Top achievements
Rank 1
answered on 26 Nov 2010, 02:42 PM
I would also be very happy to see a built-in 'normal' hyperlink handling in read-only mode.

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
0
Iva Toteva
Telerik team
answered on 26 Nov 2010, 05:42 PM
Hi Ingmar,

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.

All the best,
Iva
the Telerik team
Browse the videos here>> to help you get started with RadControls for Silverlight
0
Zero Gravity Chimp
Top achievements
Rank 2
answered on 02 Dec 2010, 10:53 PM
Hi

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.
0
Iva Toteva
Telerik team
answered on 07 Dec 2010, 06:29 PM
Hi Paul,

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.

Regards,
Iva
the Telerik team
Browse the videos here>> to help you get started with RadControls for Silverlight
0
Brad McBride
Top achievements
Rank 1
answered on 26 May 2011, 04:45 PM
Was this functionality put in place with the most recent update? I am using the most up to date version of the radrichtextbox control (2011.1.516.1040) and am not seeing the behavior I would expect. Here is the XAML I am using to define the RadRichTextBox. As you can see, IsReadOnly is set to True and IsSelectionEnabled is set to False. However, I am still having to hold down Ctrl when I click the link in order to navigate to the URL that the hyperlink points to.

<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>




0
Iva Toteva
Telerik team
answered on 26 May 2011, 06:02 PM
Hi Brad,

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
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Brad McBride
Top achievements
Rank 1
answered on 26 May 2011, 07:19 PM
Thank you for this information. I am able to use the control as I would expect now.
Tags
RichTextBox
Asked by
Michael Montgomery
Top achievements
Rank 1
Answers by
Iva Toteva
Telerik team
Ingmar
Top achievements
Rank 1
Zero Gravity Chimp
Top achievements
Rank 2
Brad McBride
Top achievements
Rank 1
Share this question
or