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

Word and character count

1 Answer 141 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Richard Harrison
Top achievements
Rank 2
Richard Harrison asked on 11 Jun 2009, 06:20 PM
I get the feeling that I am missing something, but when I simply put a RadEditor control on a page (along with a ScriptManager), the character and word count only updates VERY sporadically.  I do notice that if I incorporate RadSpell and perform a spell check, the counts update.

Isn't the count supposed to update as you type?  What am I doing wrong here?

Many, many thanks.

Update: Ah, I see in the documentation: "Please note that you have to click with the mouse inside the content area for the statistics module to update, i.e. it will not update on every keystroke for the purposes of performance optimization."

Hmmm...any way to set up a js timer or something to perform an update every few seconds?

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 12 Jun 2009, 01:48 PM
Hi Richard,

Indeed, the RadEditor's Statistics module is updatable on Enter key press or click to not decrease performance. Nevertheless, you can easily implement a custom Statistics module which will be updated on key up. For your convenience I have attached such an example which you can test and use in your project.


Greetings,
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
Richard Harrison
Top achievements
Rank 2
Answers by
Rumen
Telerik team
Share this question
or