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

[Solved] RadEditor1.Content

2 Answers 113 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Anandi
Top achievements
Rank 1
Anandi asked on 03 Jun 2009, 05:57 PM
Hi,
I am trying to get the length of the text that I have entered in the RAD Editor. While the character count box at the bottom of the editor gives the correct count(which uses js: editor.get_html), the function in which I use "RadEditor1.Content" to return the count, seems to be adding the enter characters in the text and hence there seems to be a mismatch between the actual character count shown at the bottom and the one the code is checking against -for validation. Am I missing something here. Your input is highly appreciated. Thanks.
Anandi

2 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 05 Jun 2009, 03:05 PM
Hello Anandi,

Could you please, just for test disable the indentation filter of RadEditor for ASP.NET AJAX and see whether the problem still persists:

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

If you still experience this problem, please open a support ticket and send a sample working example and sample content with steps to reproduce the issue. I will do my best to help once I am able to reproduce the problem.

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.
0
Anandi
Top achievements
Rank 1
answered on 05 Jun 2009, 05:22 PM
Works breautiifully!!!
THis is exactly what I needed. Thanks a lot Rumen.

Anandi
Tags
Editor
Asked by
Anandi
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Anandi
Top achievements
Rank 1
Share this question
or