Esempio n. 1
0
        public ActionResult Redirect(string url, string target = null)
        {
            JavascriptActions.Redirect(url, withAjax: IsMicrofrontEnd, target: target);

            if (Request.IsAjaxCall() || target.HasValue())
            {
                return(JsonActions());
            }
            else
            {
                return(base.Redirect(url));
            }
        }
Esempio n. 2
0
 public ActionResult AjaxRedirect(string url, string target = null)
 {
     JavascriptActions.Redirect(url, withAjax: true, target: target);
     return(JsonActions());
 }
Esempio n. 3
0
 public ActionResult AjaxRedirect(string url)
 {
     JavascriptActions.Redirect(url, withAjax: true);
     return(JsonActions());
 }