I have the following template which redirects the user which works fine, how can I get it so it opens up in a new window?
@{
Layout = "Master.cshtml";
var links = Model.Value<IEnumerable<Link>>("linkTarget");
if (links != null && links.Any())
{
var prettyLink = links.FirstOrDefault();
Context.Response.Redirect(prettyLink.Url,true);
}
}
Thanks