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

HTML has extra characters and no Numbers or Bullets

5 Answers 97 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Michael
Top achievements
Rank 1
Michael asked on 08 Aug 2016, 05:06 PM

Hi All,

I am totally new to Telerik controls, this is my first assignment with them and I have an issue.

No matter what I put in the editor it looses all carriage returns, shows a bullet and number in the editor but after save on the HTML page it looks like this.

$0$0Bullets$0$0$0$0$0Numbers$0$0$0$0Bold$0$0Italics$0$0Underlined$0$0$0$0 (the Bold was bolded, the Italics was italicized and the underline was underlined), but it inserts these '$0$0' before and after each item.

Does anyone have a clue what is going on, perhaps it is the AJAX Script Manager on this page, there is not a Telerik one?

I do not see any methods or .css causing an issue, I could be wrong though.

ASP.NET:

<telerik:RadEditor ID="txt_answer" Width="580" Height="250" runat="server" EnableContextMenus="True"
EnableTheming="True" ToolsFile="~/App_Data/ToolsFile.xml" EnableResize="false"
ShowSubmitCancelButtons="False" Skin="Telerik">
<cssfiles>
<telerik:EditorCssFile />
</cssfiles>
</telerik:RadEditor>

5 Answers, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 09 Aug 2016, 11:48 AM

Hello Michael,

This does not look like content generated from RadEditor and there are no known reasons for such content to be created. Can you confirm that you are using the latest version (R2 2016 SP1 at the time of writing) and that there are no JavaScript errors on the page?

In case you are pasting it from somewhere, it is likely that the source application does not provide the correct clipboard flavor and in such a case RadEditor cannot fix the content it gets from the OS.

Regards,

Marin Bratanov
Telerik by Progress
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
0
Michael
Top achievements
Rank 1
answered on 09 Aug 2016, 04:18 PM

This is an older application using .NET 3.5 framework, my Telerik version is 2008.1.619.35.

I am not pasting text, just entering it, adding the bullet or number and saving. On the view page it show wrong so I was thinking this could be an encoding issue.

It ended up being the fact that the jQuery on the Master page was not wrapped in a document.ready() function.

Thank you for assisting me.

0
Michael
Top achievements
Rank 1
answered on 17 Aug 2016, 09:45 PM

Apparently this was not the real issue.

So in the editor I enter 'Fix This' and then click the bullet button. That shows up normally.

If I select the HTML I get this in the editor window.

$0
$0Fix This$0
$0

If I select Preview I see this: $0 $0Fix This$0 $0

What am I missing?

0
Marin Bratanov
Telerik team
answered on 18 Aug 2016, 11:29 AM

Hello Michael,

The 2008 version is extremely old and does not support any contemporary browser. When it was created we had IE6, IE7 and probably Firefox 2. Thus, it cannot be expected to work in the current browsers (IE11, Edge, Firefox 48, Chrome 52).

My advice is to upgrade to the latest version (2016.2.607).

Since your version is very old you may find helpful this article on migrating to the new version: http://docs.telerik.com/devtools/aspnet-ajax/controls/editor/changes-and-backwards-compatibility/migration-from-radeditor-classic-to-radeditor-for-asp.net-ajax.

Regards,

Marin Bratanov
Telerik by Progress
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
0
Accepted
Michael
Top achievements
Rank 1
answered on 18 Aug 2016, 03:33 PM
So the real issue was...(besides Telerik being brand new to me): The ContentFilter property was not set, as soon as I set to to None the Numbering and bullets started working again.
Tags
Editor
Asked by
Michael
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Michael
Top achievements
Rank 1
Share this question
or