This is a migrated thread and some comments may be shown as answers.

Hyperlink Properties Problem

3 Answers 54 Views
Editor
This is a migrated thread and some comments may be shown as answers.
ClarkSRoberts
Top achievements
Rank 1
ClarkSRoberts asked on 05 Dec 2009, 01:36 PM
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?

3 Answers, 1 is accepted

Sort by
0
Dobromir
Telerik team
answered on 08 Dec 2009, 10:31 AM
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.
0
Jason Rodman
Top achievements
Rank 1
answered on 23 Feb 2010, 08:22 PM
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.
0
Dobromir
Telerik team
answered on 26 Feb 2010, 01:46 PM
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.
Tags
Editor
Asked by
ClarkSRoberts
Top achievements
Rank 1
Answers by
Dobromir
Telerik team
Jason Rodman
Top achievements
Rank 1
Share this question
or