There is a possibility to add Minimum/Maximum length validation in Kendo editor , but is is not user friendly. I am referring to method describe on the following website:
ASP.NET MVC Editor Component Add maxlength Validations - Telerik UI for ASP.NET MVC
What I am looking for would be easier way just by adding some attribute so the code should be like the following:
@(Html.Kendo().Editor() .Name("editor") .HtmlAttributes(new { style = "width: 100%; height:840px", aria_label = "editor" })
.MinLenght(10)
.MaxLength(5000) )
In this case, when you add the one which I added as Red it should automatically enforce it and do validation based on number of characters.
Hi Reza,
Thank you for logging this feature request.
I agree that it would be helpful to have a MinLength and a MaxLength settings in the Editor. We will monitor the interest in this feature.
Regards,
Ivan Danchev
Progress Telerik
Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.