ControllerStandardDataItemClassRedirectToLocal Method | |
Redirection to local url
Namespace:
SOWIWeb.Helper
Assembly:
SOWIWeb.Helper (in SOWIWeb.Helper.dll) Version: 19.1.23.1 (19.1.23.622)
Syntax protected ActionResult RedirectToLocal(
string pReturnUrl,
string pControllerName = "Home",
string pActionName = "Index"
)
Protected Function RedirectToLocal (
pReturnUrl As String,
Optional pControllerName As String = "Home",
Optional pActionName As String = "Index"
) As ActionResult
Parameters
- pReturnUrl
- Type: SystemString
example value from Session.ReturnUrl - pControllerName (Optional)
- Type: SystemString
Default controller name Home - pActionName (Optional)
- Type: SystemString
Default action name Index
Return Value
Type:
ActionResult[Missing <returns> documentation for "M:SOWIWeb.Helper.ControllerStandard`1.RedirectToLocal(System.String,System.String,System.String)"]
Remarks If parameter pReturnUrl not a local url then direction to /Home/Index/
See Also