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

Is there a way to restrict number of words/characters entered in the radeditor?

2 Answers 76 Views
Editor
This is a migrated thread and some comments may be shown as answers.
AB
Top achievements
Rank 1
AB asked on 10 May 2010, 04:23 PM
How do I restrict the length of the information entered in the rad editor.

2 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 10 May 2010, 04:32 PM
Hi AB,

Please, see this forum thread: Charector limit in Rad:Editor.

In the Q3 2009 build of RadEditor for ASP.NET AJAX we also introduced two new properties MaxTextLenght and MaxHTMLLength to limit content size. You can use the MaxHtmlLenght property in your scenario.

The MaxTextLength and MaxHtmlLength properties check the character length only when submitting the content. We decided to implement them in this way because if we check the content length on paste and / or on onkeydown then this will decrease performance and will slow down the typing / editing of large content. This is how these properties are implemented in our competitors' web editors as well.

Best regards,
Rumen
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
AB
Top achievements
Rank 1
answered on 10 May 2010, 04:55 PM
Thanks
Tags
Editor
Asked by
AB
Top achievements
Rank 1
Answers by
Rumen
Telerik team
AB
Top achievements
Rank 1
Share this question
or