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

[Solved] RadEditor Character Counter Is Wrong

1 Answer 154 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Brad
Top achievements
Rank 1
Brad asked on 13 May 2009, 01:31 AM
Good evening:

The character counter within RadEditor seems to be counting incorrectly. We've been trying to process a string that the counter reports at 255 characters into a field that accepts 256.  By your indication, it should fit, but in reality, the string we type into the editor is 270 characters.  There are no hidden HTML characters involved, it simply seems to be ignoring punctuation or something else.  Is there a way to tune the counter to accurately report the true length of the string within the "content" area of the editor.  We're using the 3Q2008 build.

Thanks,

Brad

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 15 May 2009, 01:22 PM
Hello Brad,

Could you please, just for test disable the indentation built-in content-filter filter of RadEditor for ASP.NET AJAX and see whether the problem still persists?

Here is how to disable the filter via the codebehind:

        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                RadEditor1.DisableFilter(EditorFilters.IndentHTMLContent);
            }
        }


Best regards,
Rumen
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Editor
Asked by
Brad
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or