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

[Solved] Q1 2009 RadEditor ContentFilters

1 Answer 127 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Shawn
Top achievements
Rank 1
Shawn asked on 04 Sep 2009, 01:13 AM
We are using the RadEditor 2009.1.623.20, and have been experiencing an interesting problem:

We have enabled the content filter 'IECleanAnchors', yet we can seem to stop the following behavior.

When a user creates a link such as:

<A class=crs_top title=Top tabIndex=0 href="#">Top</A>

The first time it is saved, it saves the way it should.  The second time the content is loaded into the RadEditor, and the mode is switched from Design to HTML it adds the current page URL to the href of the anchor.  This is highly undesirable as the content embeds the URL of the page the RadEditor is loading from and this is not where the content is going to be rendered (see below)!

<A class=crs_top title=Top tabIndex=0 href="http://localhost/Myapplication/RadEditorPage.aspx?Parameter1=something#"></A>

What can we do to ensure that when a '#' is entered as an href that it stays as just '#'?

Note: We saw the anchorpathtostrip method, but it would seem that the content filter should already be doing this.  Am I wrong?

Thanks!

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 09 Sep 2009, 06:08 AM
Hi Shawn,

You are using some of the latest internal builds of RadControls for ASP.NET AJAX, but these builds are not recommended for production purposes because they have not gone through the complete QA process. My recommendation is to download and test the latest official Q1 2009 SP1 build (version 2009.2.826) and see whether the problem still persists.

If you still experience the problem, please open a support ticket and send a sample working project along with instructions on how to reproduce the problem on our side.

Please, also try to reproduce the problem using the Save in Database example.

Sincerely,
Rumen
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.
Tags
Editor
Asked by
Shawn
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or