Class RedirectToUmbracoUrlResult
Redirects to the current URL rendering an Umbraco page including it's query strings
Inheritance
System.Object
Namespace: Umbraco.Web.Mvc
Assembly: Umbraco.Web.dll
Syntax
public class RedirectToUmbracoUrlResult : ActionResult
Remarks
This is useful if you need to redirect to the current page but the current page is actually a rewritten URL normally done with something like Server.Transfer. It is also handy if you want to persist the query strings.
Constructors
View SourceRedirectToUmbracoUrlResult(UmbracoContext)
Creates a new RedirectToUmbracoResult
Declaration
public RedirectToUmbracoUrlResult(UmbracoContext umbracoContext)
Parameters
Type | Name | Description |
---|---|---|
UmbracoContext | umbracoContext |
Methods
View SourceExecuteResult(ControllerContext)
Declaration
public override void ExecuteResult(ControllerContext context)
Parameters
Type | Name | Description |
---|---|---|
ControllerContext | context |