//Redirect the page if this is specified in the CMS if ((Model.HasValue("redirectToUrl") || Model.HasValue("redirectToAnotherPage")) && Model.HasValue("redirectType")) { string redirectURL; if (Model.HasValue("redirectToUrl")) { redirectURL = Model.Value("redirectToUrl").ToString(); } else { redirectURL = Model.Value("redirectToAnotherPage").Url(); } if (Model.Value("redirectType") == "Permanent") { Response.RedirectPermanent(redirectURL); } else { Response.Redirect(redirectURL); } } Onze kennisdocumenten | EQUANS

Kennisdocumenten