UpdatableFormModelBinderBindModel Method |
Method called automatically when parameter is annotated with with type
set to this binder.
Namespace: Kentico.Forms.Web.MvcAssembly: Kentico.Content.Web.Mvc (in Kentico.Content.Web.Mvc.dll) Version: 13.0.131
Syntax public Object BindModel(
ControllerContext controllerContext,
ModelBindingContext bindingContext
)
Parameters
- controllerContext
- Type: ControllerContext
Controller context of the current request, used to obtain form ID. - bindingContext
- Type: ModelBindingContext
Binding context, currently not used.
Return Value
Type:
ObjectModel instance containing values bound from request data.
Implements
IModelBinder.BindModel(ControllerContext, ModelBindingContext)See Also Reference
ModelBinderAttribute