IFormComponentBinderValidate Method |
Validates the model and adds error into the model state.
Namespace: Kentico.Forms.Web.MvcAssembly: Kentico.Content.Web.Mvc (in Kentico.Content.Web.Mvc.dll) Version: 13.0.131
Syntax void Validate(
Object model,
string prefix
)
Parameters
- model
- Type: SystemObject
Object to validate. - prefix
- Type: SystemString
Keys added into the model state are prefixed with this value and a single '.' character.
See Also