Try Now
More in this section

Forums / Developing with Sitefinity / Generic Content RadEditor - linking to documents

Generic Content RadEditor - linking to documents

2 posts, 0 answered
  1. Karl
    Karl avatar
    45 posts
    18 Jun 2009
    05 May 2011
    Link to this post
    We are using Sitefinity 3.7 SP4 and have almost got it up and running the way we desire, however, we have come up against a minor issue but a significant issue with the RadEditor when a user add's generic content;

    1) How do you hyperlink an image to a document? (Without using the HTML tab - this would be far too advanced for our users!!)

    2) When highlighting text in the RadEditor with the intention of linking this to a document, the highlighted text is not maintained in the "What should the link say" textbox? - It always says the name of the filename?  Is there any way of maintaining the highlighted text in this box in a similar way as to when you add a hyperlink to a page.


  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    19 Oct 2016
    11 May 2011
    Link to this post
    Hi Karl,

    1. You can right click on the image and choose "Image Map Editor" . The Image Map Editor has a property "Target" which you can use.

    2. Out of the box this is not supported. The could be done with a custom code where you  get the selected HTML and send it to the selector. You should modify insertLink() of Sitefinity\Admin\ControlTemplates\Libraries\Dialogs\DocumentEditorDialog.ascx where we set the document text.

    Ivan Dimitrov
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
2 posts, 0 answered