Click or drag to resize
IFormComponentBinderValidate Method
Validates the model and adds error into the model state.

Namespace: Kentico.Forms.Web.Mvc
Assembly: Kentico.Content.Web.Mvc (in Kentico.Content.Web.Mvc.dll) Version: 13.0.131
Syntax
C#
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