Declined
Last Updated: 25 Oct 2021 07:03 by ADMIN
Pavel
Created on: 05 Oct 2015 12:24
Category: MVVM
Type: Feature Request
1
Decouple validation from HTML input elements
For now, kendo validator validates just HTML inputs. For simple forms this is ok, but for complex models it would be nice to have a possibility to validate the entire model before posting it (which may not be directly bound to HTML fields!)

The expected scenario looks like Asp.NET mvc validation: validate() method accepts the entire view model and returns an array of error objects which are then bound to HTML labels based on their data-* attributes.
1 comment
ADMIN
Ianko
Posted on: 25 Oct 2021 07:03

Hi,

The currently working scenario with MVC validation is tightly coupled with HTML fields as this is the basic concept of MVC's unobtrusive validation which we are following in order to provide supported validation with our Kendo UI components. 

Regards,
Ianko
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.