Click or drag to resize
KenticoFormItemControllerPreviewItem Method
Action renders a page containing components of form specified by formId and their values.

Namespace: Kentico.Forms.Web.Mvc.Internal
Assembly: Kentico.Content.Web.Mvc (in Kentico.Content.Web.Mvc.dll) Version: 12.0.0
Syntax
C#
public ActionResult PreviewItem(
	int formId,
	int itemId
)

Parameters

formId
Type: SystemInt32
ID of the form to be rendered.
itemId
Type: SystemInt32
ID of the submitted form record containing data.

Return Value

Type: ActionResult
See Also