Click or drag to resize
ScriptHelperGetRedirectScript Method
Returns a script block that handles page redirection.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 8.2.23
Syntax
C#
public static string GetRedirectScript(
	string url,
	bool newWindowInCMSDesk
)

Parameters

url
Type: SystemString
URL of the page the user should be redirected to
newWindowInCMSDesk
Type: SystemBoolean
True, if requested page should be opened in a new window when user is in CMSDesk, otherwise the page is opened in the current window

Return Value

Type: String
See Also