Click or drag to resize
FormWidgetForm Constructor
Creates new instance of FormWidgetForm.

Namespace: Kentico.Forms.Web.Mvc.Widgets.Internal
Assembly: Kentico.Content.Web.Mvc (in Kentico.Content.Web.Mvc.dll) Version: 13.0.131
Syntax
C#
public FormWidgetForm(
	HtmlHelperExtensionPoint htmlHelper,
	FormWidgetViewModel model
)

Parameters

htmlHelper
Type: Kentico.Web.MvcHtmlHelperExtensionPoint
HtmlHelper extension.
model
Type: Kentico.Forms.Web.Mvc.WidgetsFormWidgetViewModel
Form widget model.
Exceptions
ExceptionCondition
InvalidOperationExceptionThrown when CustomHtmlEnvelopeString is used but CONTENT_PLACEHOLDER is missing.
See Also