HTML has extra characters and no Numbers or Bullets

6 posts, 1 answers
  1. Michael
    Michael avatar
    4 posts
    Member since:
    Aug 2016

    Posted 08 Aug Link to this post

    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>

  2. Marin Bratanov
    Admin
    Marin Bratanov avatar
    3602 posts

    Posted 09 Aug Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Michael
    Michael avatar
    4 posts
    Member since:
    Aug 2016

    Posted 09 Aug Link to this post

    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.

  5. Michael
    Michael avatar
    4 posts
    Member since:
    Aug 2016

    Posted 17 Aug Link to this post

    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?

  6. Marin Bratanov
    Admin
    Marin Bratanov avatar
    3602 posts

    Posted 18 Aug Link to this post

    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.
  7. Answer
    Michael
    Michael avatar
    4 posts
    Member since:
    Aug 2016

    Posted 18 Aug Link to this post

    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.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017