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: 12.0.0
Syntax
C#
public FormWidgetForm(
	ExtensionPoint<HtmlHelper> htmlHelper,
	FormWidgetViewModel model
)

Parameters

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