Active Platform Validation Sample
About Validation
This page demonstrates the built-in validation solution using the ValidInput component. This solution is designed to be symmetrical in that the same validation code can be employed on the server that is used on the client.
The system makes use of the System.ComponentModel.DataAnnotations
core classes to apply validation attributes directly to the model. The
Validator.TryValidateObject()
method is used to validate the model and
create a list of validation errors. Each validation component subscribes to
this list and adjusts it's own appearance accordingly.
Show serverside validation?