IFormComponentBinderAddModelStateError Method |
Adds key with errorMessage to the model state.
Namespace: Kentico.Forms.Web.MvcAssembly: Kentico.Content.Web.Mvc (in Kentico.Content.Web.Mvc.dll) Version: 13.0.131
Syntaxvoid AddModelStateError(
string key,
string errorMessage
)
Parameters
- key
- Type: SystemString
- errorMessage
- Type: SystemString
See Also