Anchor and absolute path

4 posts, 0 answers
  1. HSLaw
    HSLaw avatar
    153 posts
    Member since:
    Jan 2006

    Posted 19 May 2015 Link to this post

    Hi,

    The video show that if I use absolutepath in Editor and then created an anchor, the anchor will have the absolute path as well.

    http://upload.ximnet.com.my/huisheng/editor_anchor.swf

    How can I solve this?

    Thanks.

  2. Ianko
    Admin
    Ianko avatar
    1535 posts

    Posted 21 May 2015 Link to this post

    Hello,

    I guess the video did not go through, as I do not see it attached.

    However, using an absolute path in a link, it is expected to stay absolute. If you rather need to modify it to relative path when the source is on the same domain, then you should implement a custom content filter. You can check out this knowledge base item—http://www.telerik.com/support/kb/aspnet-ajax/editor/details/how-to-produce-relative-path-for-links-when-makeurlsabsolute-content-filter-enabled.

    Regards,
    Ianko
    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
  4. HSLaw
    HSLaw avatar
    153 posts
    Member since:
    Jan 2006

    Posted 24 May 2015 in reply to Ianko Link to this post

    Hi,

    The video is hosted on the URL: http://upload.ximnet.com.my/huisheng/editor_anchor.swf

    1. I want the normal link to remain as absolute path.

    2. But if I created an anchor, says, #test123, I need it to remain as #test123, instead of absolutepath#123, which will become something like "www.domain.com/cms/article_edit.aspx#test123".

    Thanks.

     

  5. Ianko
    Admin
    Ianko avatar
    1535 posts

    Posted 27 May 2015 Link to this post

    Hello,

    Testing the same scenario with this online demo—http://demos.telerik.com/aspnet-ajax/editor/examples/overview/defaultcs.aspx—I am unable to reproduce the same problem. 

    What is the version of the UI for ASP.NET AJAX suite used? Can you try if upgrading resolves the issue.

    Also, by design, RadEditor would add only the domain with the path to the file. But in the screencast I see URL to an aspx page with the entire query string at the end, which is not a behavior implemented in RadEditor.

    Verify if there are any customizations regarding the RadEditor commands that may lead to the shown result.

    Regards,
    Ianko
    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
Back to Top