Hyperlink Properties Problem

4 posts, 0 answers
  1. ClarkSRoberts
    ClarkSRoberts avatar
    27 posts
    Member since:
    Mar 2007

    Posted 05 Dec 2009 Link to this post

    I am using the Hyperlink Properties to enter the following url:

    webpage.aspx?id=30

    After the editor contents are posted back to the database, the code gets converted to:

    %7E/webpage.aspx?id=30

    This also happens if I use the tilde as follows:

    ~/webpage.aspx?id=30

    Is there any solution to this? Is there a secret to entering a relative URL in the editor?
  2. Dobromir
    Admin
    Dobromir avatar
    1633 posts

    Posted 08 Dec 2009 Link to this post

    Hello Clark,

    I was unable to reproduce the problem on my side. Are you able to reproduce it using Save In Database Demo? Could you, please, provide more information about:

    1. Product version
    2. The browser that you are using
    3. Steps to reproduce the problem

    Furthermore, you can open a support ticket and attach a sample project where the behavior you are experiencing can be observed, so I can take a look at it and think of a solution.

    Best wishes,
    Dobromir
    the Telerik team


    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Jason Rodman
    Jason Rodman avatar
    16 posts
    Member since:
    Mar 2007

    Posted 23 Feb 2010 Link to this post

    We have this same problem. We use ~ in all our links to get replaced at runtime with our server root path. After upgrading to the latest radEditor, we noticed it replaced all ~ in urls with its encoded equivalent. This only seems to be happening in firefox 3.5 on mac. I have not tested it on the PC version.
  5. Dobromir
    Admin
    Dobromir avatar
    1633 posts

    Posted 26 Feb 2010 Link to this post

    Hi Jason,

    The encoding of the URL is expected browser behavior - RadEditor's content area is an editable IFRAME and it is extending the browser's default RichText editing engine. For the time being we do not plan to change this behavior.
    You can find more information on the subject in the following articles:
    Network.standard-url.encode-utf8
    HTML URL Encoding Reference

    As a workaround for your scenario I suggest you to find and replace the encoded string (%7E) instead of the exact symbol (~).

    Kind regards,
    Dobromir
    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.
Back to Top