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

Set MaxLength of dynamically added RadEditor

1 Answer 101 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Arthur
Top achievements
Rank 2
Arthur asked on 05 Feb 2009, 03:23 PM
Hi,

   I just want to inquire if there is a way that I can set the maximum length that my RadEditor will accept. My RadEditor is dynamically added to a user control because we want to load it only when the user is using Firefox. I have to set the RadEditor to accept only a maximum length of text (excluding the HTML tags) and he won't accept any more if he has reached that length. Is there a property that we can set or a client side script that we can do for this?

Thanks,
Arthur

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 09 Feb 2009, 09:31 PM
Hi Arthur,

Please, see the following forum thread on the subject: Character limit in RadEditor. To obtain the content as plain text you should use the editor.get_text() method.

Greetings,
Rumen
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Editor
Asked by
Arthur
Top achievements
Rank 2
Answers by
Rumen
Telerik team
Share this question
or