How to validate Edited Row in .net with MVC5?
How to validate Edited Row in .net with MVC5?
lievflowork
Posts: 2Questions: 1Answers: 0
Hi,
I have a .net MVC5 architecture with entity framework, separated in front end and backend where I use the editor, is there any way to validate the editor data without having to use the data context?
This discussion has been closed.
Answers
The Editor libraries provide built in validation methods but unfortunately those libraries don't work with EF. You'd need to use whatever hooks you are using for Editor with EF to provide the validation. The client / server documentation shows the JSON you can use to return an error to the client-side.
Allan