We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

RichTextEditor - is there a way to set maxLength?

Thread ID:

Created:

Updated:

Platform:

Replies:

108224 Apr 9,2013 03:08 PM Apr 12,2013 03:09 AM ASP.NET MVC (Classic) 2
loading
Tags: Tools
Steve Elmer
Asked On April 9, 2013 03:08 PM

Is there a way to limit the maximum number of characters entered into the RichTextEditor control?

For example, the standard HTML textarea and input tags both have a maxlength attribute available which will prevent the user from typing any more text into them.

Thanks,

Steve


Steve Elmer
Replied On April 9, 2013 04:01 PM

On another note, it would be nice to show, in the footer perhaps, the number of characters remaining; or text that displays number of characters entered of the total number allowed. 

Does anyone have an example of this?

Thanks again,

Steve


Meena [Syncfusion]
Replied On April 12, 2013 03:09 AM

Hi Steve,

 

Thanks for contacting Syncfusion forums.

 

Query1: Is there a way to limit the maximum number of characters entered into the RichTextEditor control?

 

We have already considered this requirement as a defect in incident #106813. Kindly have  follow-up with that incident for the fix.

 

Query2: On another note, it would be nice to show, in the footer perhaps, the number of characters remaining; or text that displays number of characters entered of the total number allowed. 

 

Currently we do not have support for displaying the remaining characters in footer of RTE. This could be done as a work around once we implemented the MaxLength attribute and ClientSideOnChanged event for RTE control as promised in incident #106813.

 

Kindly have follow up with the same incident for further updates.

 

Regards,

Meena


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;