Silverlight supports frame navigation using relative anchor links, e.g. "#Foo". But I can't seem to create such a link in the RichTextBox. It always wants to treat it as an absolute URL.
Is there a way to accomplish this?
3 Answers, 1 is accepted
0
Petya
Telerik team
answered on 10 Jul 2014, 01:05 PM
Hello,
RadRichTextBox allows to create links to web pages (absolute Uri) or places in the current document (bookmarks). This is similar to how document processors like MS Word work, rather than the way Silverlight navigation is used.
Let us know if you have other comments or questions.
Regards,
Petya
Telerik
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
When clicked, my browser's URL is changed from "http://localhost/" to "http://localhost#/Crm/Matters".
I'd really like to embed either link ("/Crm/Matters" for Silverlight navigation, or "#/Crm/Matters" for browser navigation). But it seems like I can only do an absolute link. With an absolute link, the host will be hard-coded into the URL. That's very troublesome for deploying the same content to multiple environments where the host name differs.
0
Petya
Telerik team
answered on 15 Jul 2014, 11:10 AM
Hi,
As I explained in my previous post, hyperlinks in the context of RadRichTextBox are closer to the ones in document processors rather than the Silverlight runtime. Still, if you want to you can add an actual HyperlinkButton in a document which should allow you to achieve the desired result. Please check this article explaining InlineUIContainers. Note that the export of these document elements is limited, so if you want to preserve your documents you would need to use XAML format.
I hope this is helpful.
Regards,
Petya
Telerik
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.