ScriptHelperGetRedirectScript Method |
Returns a script block that handles page redirection.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 8.2.23
Syntax 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:
StringSee Also