Click or drag to resize
UpdatableFormModelBinderBindModel Method
Method called automatically when parameter is annotated with with type set to this binder.

Namespace: Kentico.Forms.Web.Mvc
Assembly: Kentico.Content.Web.Mvc (in Kentico.Content.Web.Mvc.dll) Version: 13.0.131
Syntax
C#
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: Object
Model instance containing values bound from request data.

Implements

IModelBinder.BindModel(ControllerContext, ModelBindingContext)
See Also