This question is locked. New answers and comments are not allowed.
The required data annotation does not always seem to work on viewmodel properties that are edited through the Telerik MVC Editor.
Let's take the client validation demo on the Telerik site as an example:
- Go to: http://demos.telerik.com/aspnet-mvc-beta/editor/clientvalidation
- Don't touch the editor, just press save
- Validation works in this case
But now ... :
- Again, go to: http://demos.telerik.com/aspnet-mvc-beta/editor/clientvalidation
- Enter some random text in the editor.
- Clear the text you entered in step 2.
- The editor seems to be empty now (to the user), but in the background there's still an empty paragraph in it (<p></p>).
- Press save.
- Validation failes.
Is there anything I can do to fix this issue? Thanks in advance.
Regards