Links in preview mode

2 posts, 0 answers
  1. Charlie
    Charlie avatar
    12 posts
    Member since:
    Nov 2014

    Posted 21 Sep 2015 Link to this post

    Hi I am using the RadEditor but have issues when it comes to setting the editors content and trying to access the link.

     I am using the editor in preview mode to show a template which was created in edit mode but the content always contains links which I would like to work in preview mode but they don't.

    <a href="www.google.co.uk" target="_blank">Eden red offers</a>

     That is an example of what I am trying to use in the editor but whenever I click the link I don't get taken to 'www.google.co.uk' but I am sent to 'server/www.google.co.uk'

     How do I correct this?

     

    Regards,

     Charlie

     

  2. Danail Vasilev
    Admin
    Danail Vasilev avatar
    1492 posts

    Posted 24 Sep 2015 Link to this post

    Hello Charlie,

    This issue is reproducible outside the editor environment as well. In order to handle it you can simply add the 'http://' prefix before the URL:

    <a href="http://www.google.co.uk" target="_blank">Eden red offers</a>

    Regards,
    Danail Vasilev
    Telerik
    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 Feedback Portal and vote to affect the priority of the items
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top