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

RadInsertHyperlinkDialog can you restrict

4 Answers 102 Views
RichTextBox
This is a migrated thread and some comments may be shown as answers.
Tracey
Top achievements
Rank 1
Tracey asked on 18 May 2011, 02:30 PM
Hi

Is there a way of restricting TargetFrame to just New Window in the RadInsertHyperlinkDialog? (I don't want any links that are added to be opened in the Same frame)

Many Thanks
Tracey

4 Answers, 1 is accepted

Sort by
0
Iva Toteva
Telerik team
answered on 20 May 2011, 02:11 PM
Hi Tracey,

There is no way of restricting the TargetFrame to NewWindow only. You have two options.
You can handle the HyperlinkClicked event of RadRichTextBox and "manually" open all Hyperlinks in another window, regardless of their target.
A better approach, however, would be to implement your custom insert hyperlink dialog by implementing IInsertHyperlinkDialog and use it in your RadRichTextBox. If you would like, you can open a support ticket and we can send you the code of InsertHyperlinkDialog for reference.
I hope that answers your question. Looking forward to hearing from you about the solution you choose.

Greetings,
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
Tracey
Top achievements
Rank 1
answered on 20 May 2011, 02:28 PM
Thanks Iva

I suspected this might be the case - have put in a request for the InsertHyperlinkDialog source

Many Thanks
0
Iva Toteva
Telerik team
answered on 20 May 2011, 02:53 PM
Hello Tracey,

Your request has been addressed in the support thread.

All the best,
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
Hans
Top achievements
Rank 1
answered on 04 Apr 2013, 02:29 PM
Hello
Please tell me, do you added this feature?
I need to remove the Target Frame completely, or leave in the comboBox only "Same Frame"

my current v. is 2013.1.220.1050
Tags
RichTextBox
Asked by
Tracey
Top achievements
Rank 1
Answers by
Iva Toteva
Telerik team
Tracey
Top achievements
Rank 1
Hans
Top achievements
Rank 1
Share this question
or