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

Use pasteHtml to create link with querystring

3 Answers 31 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Dillon
Top achievements
Rank 1
Dillon asked on 03 May 2010, 08:54 PM
I'm trying to do the following.

 editor.pasteHtml("<a href=\"fark?asdf=123&eee=4343\">Farker<\a>");

The link contains a url with a query string. However when this is inserted you end up with the HTML enities for ampersand. Anyway to fix this?

3 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 04 May 2010, 09:44 AM
Hi Dillon,

This is a browser behavior. Please, see how to solve it in this forum thread: Hyperlink Manager converts query string &amp.

Sincerely yours,
Rumen
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.
0
Dillon
Top achievements
Rank 1
answered on 05 May 2010, 10:35 PM
We are moving over from CuteEditor and its link manager has the same behavior. However its client site api does not. So it is able to insert links into the html with the proper format. Any reason RadEditor shouldn't be able to then?


btw: CuteEditor has a HUGE host of other issues.
0
Dobromir
Telerik team
answered on 10 May 2010, 05:27 PM
Hi Dillon,

I posted a sample project with a solution to this problem, implemented in the forum thread that Rumen pointed you out. Please check it out.

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
Dillon
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Dillon
Top achievements
Rank 1
Dobromir
Telerik team
Share this question
or