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

WYSIWYG Editor client side validation with MVC

1 Answer 177 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Alex
Top achievements
Rank 2
Alex asked on 03 Sep 2014, 07:15 AM
Hello,

I'm trying to add some client side validation to the WYSIWIG Editor in MVC, however I cannot find any forum posts or docs with instructions on how to do this. I've tried basic unobtrusive validation but that obviously doesn't work because the textarea generated by KendoUI is set to hidden.

Can you please point me in the right direction on how to do this? I'd only like to do simple client side validation such as "Not Empty" etc.

1 Answer, 1 is accepted

Sort by
0
Accepted
Daniel
Telerik team
answered on 05 Sep 2014, 07:00 AM
Hello Alex,

If you wish to use the jQuery validation then you should use the approach demonstrated in this documentation topic to override the default ignore settings in order for the editor to be validated. If you wish to use the Kendo Validator then the only requirement is to include the kendo.aspnetmvc JavaScript file.

Regards,
Daniel
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Editor
Asked by
Alex
Top achievements
Rank 2
Answers by
Daniel
Telerik team
Share this question
or