IFormComponentBinder Interface |
Namespace: Kentico.Forms.Web.Mvc
public interface IFormComponentBinder
The IFormComponentBinder type exposes the following members.
Name | Description | |
---|---|---|
AddModelStateError |
Adds key with errorMessage to the model state.
| |
BindFormComponent |
Binds data to an instance of a model.
| |
IsModelValid |
Checks whether model with specified prefix is valid.
| |
PrebindComponentCollection |
Binds a collection of form components specified components while omitting
attribute and Validate(ValidationContext) validation.
| |
RemoveFromModelState |
Removes entries with specified prefix prefix from the model state.
| |
Validate |
Validates the model and adds error into the model state.
|