Class XFormSuccessActionResult

Action result for succeded XForm posts

Inheritance
System.Object
XFormSuccessActionResult
Namespace: EPiServer.Web.Mvc.XForms
Assembly: EPiServer.dll
Version: 8.11.0
Syntax
public class XFormSuccessActionResult : XFormActionBaseResult

Constructors

XFormSuccessActionResult(XForm, XFormPostedData, IPermanentLinkMapper)

Declaration
[Obsolete("Use the constructor with UrlResolver instead.")]
public XFormSuccessActionResult(XForm xform, XFormPostedData xformPostedData, IPermanentLinkMapper permanentLinkMapper)
Parameters
Type Name Description
XForm xform
XFormPostedData xformPostedData
IPermanentLinkMapper permanentLinkMapper

XFormSuccessActionResult(XForm, XFormPostedData, UrlResolver)

Creates a XFormSuccessActionResult with default parameters.

Declaration
public XFormSuccessActionResult(XForm xform, XFormPostedData xformPostedData, UrlResolver urlResolver)
Parameters
Type Name Description
XForm xform

The xform that was successfully posted.

XFormPostedData xformPostedData

The post data.

UrlResolver urlResolver

The url resolver.

Methods

ExecuteResult(ControllerContext)

Redirects to the xform page after post, or renders the success action.

Declaration
public override void ExecuteResult(ControllerContext context)
Parameters
Type Name Description
System.Web.Mvc.ControllerContext context

The controller context

Extension Methods