Export (0) Print
Expand All

SPEventPropertiesBase.RedirectUrl property

NOTE: This API is now obsolete.

A URL to redirect to when the status of SPEventReceiverStatus is CancelWithRedirectUrl.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

[ObsoleteAttribute("Default list forms are committed through asynchronous XmlHttpRequests, so redirect urls specified in this way aren't followed by default.  In order to force a list form to follow a cancelation redirect url, set the list form web part's CSRRenderMode property to CSRRenderMode.ServerRender")]
public string RedirectUrl { get; set; }

Property value

Type: System.String
Returns a String of the URL to redirect to.
Show:
© 2014 Microsoft